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