Class FastListSelectProcedure<T>

java.lang.Object
org.eclipse.collections.impl.block.procedure.FastListSelectProcedure<T>
All Implemented Interfaces:
Serializable, Consumer<T>, Procedure<T>

public final class FastListSelectProcedure<T> extends Object implements Procedure<T>
Applies a predicate to an object to determine if it should be added to a target fastList.
Since:
1.0
See Also:
  • Constructor Details

    • FastListSelectProcedure

      public FastListSelectProcedure(Predicate<? super T> newPredicate, FastList<T> targetCollection)
  • Method Details

    • value

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

      public FastList<T> getFastList()