Class SelectIntIterable.CountIntProcedure
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.SelectIntIterable.CountIntProcedure
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.IntConsumer
,IntProcedure
- Enclosing class:
- SelectIntIterable
private static final class SelectIntIterable.CountIntProcedure extends java.lang.Object implements IntProcedure
-
-
Field Summary
Fields Modifier and Type Field Description private int
counter
private IntPredicate
predicate
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
CountIntProcedure(IntPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
void
value(int each)
-
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.primitive.IntProcedure
accept
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
predicate
private final IntPredicate predicate
-
counter
private int counter
-
-
Constructor Detail
-
CountIntProcedure
private CountIntProcedure(IntPredicate predicate)
-
-
Method Detail
-
value
public void value(int each)
- Specified by:
value
in interfaceIntProcedure
-
getCount
public int getCount()
-
-