Class FastListCollectProcedure<T,V>

All Implemented Interfaces:
Serializable, Consumer<T>, Procedure<T>

public final class FastListCollectProcedure<T,V> extends Object implements Procedure<T>
Applies a function to an object and adds the result to a target fastList.
See Also:
  • Constructor Details

    • FastListCollectProcedure

      public FastListCollectProcedure(Function<? super T,? extends V> function, FastList<V> targetCollection)
  • Method Details

    • value

      public void value(T object)
      Specified by:
      value in interface Procedure<T>
    • getFastList

      public FastList<V> getFastList()