Package gnu.trove.procedure.array
Class ToObjectArrayProceedure<T>
- java.lang.Object
-
- gnu.trove.procedure.array.ToObjectArrayProceedure<T>
-
- All Implemented Interfaces:
TObjectProcedure<T>
public final class ToObjectArrayProceedure<T> extends java.lang.Object implements TObjectProcedure<T>
A procedure which stores each value it receives into a target array.
Created: Sat Jan 12 10:13:42 2002
-
-
Constructor Summary
Constructors Constructor Description ToObjectArrayProceedure(T[] target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(T value)
Executes this procedure.
-
-
-
Constructor Detail
-
ToObjectArrayProceedure
public ToObjectArrayProceedure(T[] target)
-
-
Method Detail
-
execute
public final boolean execute(T value)
Description copied from interface:TObjectProcedure
Executes this procedure. A false return value indicates that the application executing this procedure should not invoke this procedure again.- Specified by:
execute
in interfaceTObjectProcedure<T>
- Parameters:
value
- anObject
value- Returns:
- true if additional invocations of the procedure are allowed.
-
-