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