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 intcounterprivate CharPredicatepredicateprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateCountCharProcedure(CharPredicate predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()voidvalue(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:
valuein interfaceCharProcedure
-
getCount
public int getCount()
-
-