- All Implemented Interfaces:
Serializable
, Consumer<T>
, Procedure<T>
Applies a predicate to an object and increments a count if it returns true.
- See Also:
-
-
Field Summary
Fields
private int
private static final long
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.block.procedure.Procedure
accept
-
Field Details
-
serialVersionUID
private static final long serialVersionUID
- See Also:
-
-
-
-
Constructor Details
-
CountProcedure
public CountProcedure(Predicate<? super T> newPredicate)
-
CountProcedure
public CountProcedure()
-
Method Details
-
-
getCount
public int getCount()