Class FastListSelectProcedure<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Consumer<T>, Procedure<T>

    public final class FastListSelectProcedure<T>
    extends java.lang.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:
    Serialized Form
    • Constructor Detail

      • FastListSelectProcedure

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

      • value

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

        public FastList<T> getFastList()