Class 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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.