gnu.trove.procedure.array
Class ToObjectArrayProceedure<T>

java.lang.Object
  extended by 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

Version:
$Id: ToObjectArrayProceedure.java,v 1.1.2.1 2009/09/02 21:52:33 upholderoftruth Exp $
Author:
Eric D. Friedman

Constructor Summary
ToObjectArrayProceedure(T[] target)
           
 
Method Summary
 boolean execute(T value)
          Executes this procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface TObjectProcedure<T>
Parameters:
value - an Object value
Returns:
true if additional invocations of the procedure are allowed.


Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved. SourceForge.netLogo