Class ToObjectArrayProceedure<T>

  • All Implemented Interfaces:
    TObjectProcedure<T>


    public final class ToObjectArrayProceedure<T>
    extends 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 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.