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

All Known Subinterfaces:
ILevel0ListOperator<I,T>, ILevel0SetOperator<I,T>
All Known Implementing Classes:
Level0ListOperator, Level0ListOperator, Level0SetOperator, Level0SetOperator

public interface ConvertibleToArrayOperator<T>

This interface contains methods for conversions to array.

Since:
1.0
Author:
Daniel Fernández

Method Summary
 Operator toArrayOf(org.javaruntype.type.Type<T> type)
           Converts the current target to an array of the specified type.
 

Method Detail

toArrayOf

Operator toArrayOf(org.javaruntype.type.Type<T> type)

Converts the current target to an array of the specified type.

Parameters:
type - the type of the array elements.
Returns:
an operator holding the converted object as target.


Copyright © 2012 The OP4J team. All Rights Reserved.