|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.util.TabulatedList<KEYTYPE>
public class TabulatedList<KEYTYPE>
Constructor Summary | |
---|---|
TabulatedList()
Constructor |
Method Summary | |
---|---|
void |
count(KEYTYPE key)
Counts the occurrance of the specified key |
long |
getCount(KEYTYPE key)
Returns the count for the specified key |
java.util.Iterator<KEYTYPE> |
getIterator()
Returns an Iterator. |
java.util.Iterator<KEYTYPE> |
getIterator(java.util.Comparator<KEYTYPE> sortBy)
Returns an Iterator. |
java.util.List<KEYTYPE> |
getKeyList()
Return a list of keys |
java.util.List<KEYTYPE> |
getKeyList(java.util.Comparator<KEYTYPE> sortBy)
Return a sorted list of keys |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TabulatedList()
Method Detail |
---|
public java.util.Iterator<KEYTYPE> getIterator()
public java.util.Iterator<KEYTYPE> getIterator(java.util.Comparator<KEYTYPE> sortBy)
sortBy
- The Comparator by which the returned iterator is sorted
public java.util.List<KEYTYPE> getKeyList()
public java.util.List<KEYTYPE> getKeyList(java.util.Comparator<KEYTYPE> sortBy)
public void count(KEYTYPE key)
key
- The key which will be countedpublic long getCount(KEYTYPE key)
key
- The key for which the count is returned
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |