Package org.apache.wayang.core.util
Class Counter<T>
java.lang.Object
org.apache.wayang.core.util.Counter<T>
This utility helps to count elements.
-
Constructor Details
-
Counter
public Counter()
-
-
Method Details
-
get
-
add
Counts the givendelta
for the givenelement
.- Returns:
- the new count
-
increment
-
decrement
-
addAll
-
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode() -
iterator
-
remove
-
clear
public void clear()
-