edu.stanford.nlp.dbm
Class SimpleCollection

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--edu.stanford.nlp.dbm.SimpleCollection
All Implemented Interfaces:
Collection

public abstract class SimpleCollection
extends AbstractCollection

Just like AbstractCollection, but it implements the size() method for you in the obvious way by using the Iterator.


Constructor Summary
SimpleCollection()
           
 
Method Summary
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

SimpleCollection

public SimpleCollection()
Method Detail

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in class AbstractCollection


Stanford NLP Group