org.op4j.operators.qualities
Interface ExecutableIndefiniteArrayOperator<I,T>

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

public interface ExecutableIndefiniteArrayOperator<I,T>

This interface contains methods for executing functions on arrays for which a component type has not yet been specified.

Since:
1.0
Author:
Daniel Fernández

Method Summary
<X> ILevel0GenericUniqOperator<I,X>
exec(IFunction<? super T[],X> function)
           Executes the specified function on the target object, creating a new generic operator containing the result of the execution.
 

Method Detail

exec

<X> ILevel0GenericUniqOperator<I,X> exec(IFunction<? super T[],X> function)

Executes the specified function on the target object, creating a new generic operator containing the result of the execution.

This function must be able to take as input an array of type T (the current operator's target type) and will return an object of type X, which will be from then on the new operator's target type.

Type Parameters:
X - the type of the result, and new type for the operator
Parameters:
function - the function to be executed
Returns:
an operator on the results of function execution


Copyright © 2012 The OP4J team. All Rights Reserved.