Package edu.berkeley.nlp.lm.collections
Class TIntMap.ValueCollection
- All Implemented Interfaces:
Iterable<Integer>,Collection<Integer>
- Enclosing class:
TIntMap<T extends Comparable>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ValueCollection
public ValueCollection()
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<Integer>- Specified by:
iteratorin interfaceIterable<Integer>- Specified by:
iteratorin classAbstractCollection<Integer>
-
size
public int size()- Specified by:
sizein interfaceCollection<Integer>- Specified by:
sizein classAbstractCollection<Integer>
-
contains
- Specified by:
containsin interfaceCollection<Integer>- Overrides:
containsin classAbstractCollection<Integer>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Integer>- Overrides:
clearin classAbstractCollection<Integer>
-