|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.TreeMap
uk.ac.sanger.psu.gfmerge.util.algotools.MyTreeMap
public class MyTreeMap
class MyTreeMap adds some more functionality to TreeMap
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
private long |
maxObjectFound
stores maximum length [long] seen during processing. |
Constructor Summary | |
---|---|
MyTreeMap()
constructor of MyTreeMap objects |
Method Summary | |
---|---|
long |
getMaxObjectFound()
accessor method which returns max length seen. |
java.lang.Object |
nextKey(java.lang.Object key)
method which returns the successor of a key. |
java.lang.Object |
previousKey(java.lang.Object key)
method which returns the predecessor of a key. |
void |
setMaxObjectFound(long _maxObjectFound)
accessor method which sets max length seen. |
Methods inherited from class java.util.TreeMap |
---|
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, isEmpty, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.SortedMap |
---|
comparator, firstKey, headMap, lastKey, subMap, tailMap |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
private long maxObjectFound
Constructor Detail |
---|
public MyTreeMap()
Method Detail |
---|
public long getMaxObjectFound()
public void setMaxObjectFound(long _maxObjectFound)
_maxObjectFound
- max length seenpublic java.lang.Object nextKey(java.lang.Object key)
key
- key for which successor is sought
public java.lang.Object previousKey(java.lang.Object key)
key
- key for which predecessor is sought
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |