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