org.op4j.operators.qualities
Interface CastableToTypeOperator<T>

All Known Subinterfaces:
ILevel0GenericUniqOperator<I,T>, ILevel1ArrayElementsOperator<I,T>, ILevel1ListElementsOperator<I,T>, ILevel1SetElementsOperator<I,T>, ILevel2MapEntriesKeyOperator<I,K,V>, ILevel2MapEntriesValueOperator<I,K,V>
All Known Implementing Classes:
Level0GenericUniqOperator, Level0GenericUniqOperator, Level1ArrayElementsOperator, Level1ArrayElementsOperator, Level1ListElementsOperator, Level1ListElementsOperator, Level1SetElementsOperator, Level1SetElementsOperator, Level2MapEntriesKeyOperator, Level2MapEntriesKeyOperator, Level2MapEntriesValueOperator, Level2MapEntriesValueOperator

public interface CastableToTypeOperator<T>

This interface contains methods for casts to a specific type.

Since:
1.0
Author:
Daniel Fernández

Method Summary
<X> CastableToTypeOperator<X>
castTo(org.javaruntype.type.Type<X> type)
           Casts the operator's target as the specified type.
 

Method Detail

castTo

<X> CastableToTypeOperator<X> castTo(org.javaruntype.type.Type<X> type)

Casts the operator's target as the specified type.

Type Parameters:
X - the type of the targets
Parameters:
type - the type of targets
Returns:
the resulting casted operator


Copyright © 2012 The OP4J team. All Rights Reserved.