java.lang.Object
org.eclipse.collections.impl.block.procedure.AtomicCountProcedure<T>
- All Implemented Interfaces:
Serializable
, Consumer<T>
, Procedure<T>
public class AtomicCountProcedure<T>
extends Object
implements Procedure<T>
Applies a predicate to an object and increments a count if it returns true.
- See Also:
-
-
Field Summary
Fields
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
-
AtomicCountProcedure
public AtomicCountProcedure(Predicate<? super T> predicate)
-
Method Details
-
-
getCount
public int getCount()