org.op4j.operators.qualities
Interface CastableToArrayOperator

All Known Subinterfaces:
ILevel0ArrayOperator<I,T>, ILevel0IndefiniteArrayOperator<I,T>
All Known Implementing Classes:
Level0ArrayOperator, Level0ArrayOperator, Level0IndefiniteArrayOperator

public interface CastableToArrayOperator

This interface contains methods for casts to array (T[]).

Since:
1.0
Author:
Daniel Fernández

Method Summary
<X> Operator
castToArrayOf(org.javaruntype.type.Type<X> type)
           Casts the operator's target as an array of the specified type.
<X> Operator
of(org.javaruntype.type.Type<X> type)
           Casts the operator's target as an array of the specified type.
 

Method Detail

of

<X> Operator of(org.javaruntype.type.Type<X> type)

Casts the operator's target as an array of the specified type.

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

castToArrayOf

<X> Operator castToArrayOf(org.javaruntype.type.Type<X> type)

Casts the operator's target as an array of the specified type.

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


Copyright © 2012 The OP4J team. All Rights Reserved.