Package edu.berkeley.nlp.lm.collections
Class TIntMap.KeySet
java.lang.Object
java.util.AbstractCollection<E>
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, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeySet
public KeySet()
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<T extends Comparable>
- Specified by:
iterator
in interfaceIterable<T extends Comparable>
- Specified by:
iterator
in interfaceSet<T extends Comparable>
- Specified by:
iterator
in classAbstractCollection<T extends Comparable>
-
size
public int size()- Specified by:
size
in interfaceCollection<T extends Comparable>
- Specified by:
size
in interfaceSet<T extends Comparable>
- Specified by:
size
in classAbstractCollection<T extends Comparable>
-
contains
- Specified by:
contains
in interfaceCollection<T extends Comparable>
- Specified by:
contains
in interfaceSet<T extends Comparable>
- Overrides:
contains
in classAbstractCollection<T extends Comparable>
-
remove
- Specified by:
remove
in interfaceCollection<T extends Comparable>
- Specified by:
remove
in interfaceSet<T extends Comparable>
- Overrides:
remove
in classAbstractCollection<T extends Comparable>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T extends Comparable>
- Specified by:
clear
in interfaceSet<T extends Comparable>
- Overrides:
clear
in classAbstractCollection<T extends Comparable>
-