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>
public class TIntMap.KeySet
- extends AbstractSet<T>
TIntMap.KeySet
public TIntMap.KeySet()
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T extends Comparable>
- Specified by:
iterator
in interface Collection<T extends Comparable>
- Specified by:
iterator
in interface Set<T extends Comparable>
- Specified by:
iterator
in class AbstractCollection<T extends Comparable>
size
public int size()
- Specified by:
size
in interface Collection<T extends Comparable>
- Specified by:
size
in interface Set<T extends Comparable>
- Specified by:
size
in class AbstractCollection<T extends Comparable>
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection<T extends Comparable>
- Specified by:
contains
in interface Set<T extends Comparable>
- Overrides:
contains
in class AbstractCollection<T extends Comparable>
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection<T extends Comparable>
- Specified by:
remove
in interface Set<T extends Comparable>
- Overrides:
remove
in class AbstractCollection<T extends Comparable>
clear
public void clear()
- Specified by:
clear
in interface Collection<T extends Comparable>
- Specified by:
clear
in interface Set<T extends Comparable>
- Overrides:
clear
in class AbstractCollection<T extends Comparable>