edu.berkeley.nlp.lm.collections
Class TIntMap.KeySet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<T>
          extended by 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>


Constructor Summary
TIntMap.KeySet()
           
 
Method Summary
 void clear()
           
 boolean contains(Object o)
           
 Iterator<T> iterator()
           
 boolean remove(Object o)
           
 int size()
           
 
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.Set
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray
 

Constructor Detail

TIntMap.KeySet

public TIntMap.KeySet()
Method Detail

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>