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