Class SelectBooleanIterable.CountBooleanProcedure
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.SelectBooleanIterable.CountBooleanProcedure
-
- All Implemented Interfaces:
java.io.Serializable
,BooleanProcedure
- Enclosing class:
- SelectBooleanIterable
private static final class SelectBooleanIterable.CountBooleanProcedure extends java.lang.Object implements BooleanProcedure
-
-
Field Summary
Fields Modifier and Type Field Description private int
counter
private BooleanPredicate
predicate
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
CountBooleanProcedure(BooleanPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
void
value(boolean each)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
predicate
private final BooleanPredicate predicate
-
counter
private int counter
-
-
Constructor Detail
-
CountBooleanProcedure
private CountBooleanProcedure(BooleanPredicate predicate)
-
-
Method Detail
-
value
public void value(boolean each)
- Specified by:
value
in interfaceBooleanProcedure
-
getCount
public int getCount()
-
-