|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.util.OrderedHashMap
public class OrderedHashMap
A special hash-like structure which saves key value pairs and makes random access to them possible.
Constructor Summary | |
---|---|
OrderedHashMap()
|
Method Summary | |
---|---|
void |
clear()
Clears the content of the structure. |
java.lang.Object |
get(java.lang.Object key)
Gets the element dedicated to the specified key. |
java.lang.Object |
getKeyByValue(java.lang.Object value)
Gets the key corresponding to the specified value. |
java.lang.Object[] |
getKeys()
Gets a list of all keys (currently) used keys in the structure. |
java.lang.Object |
getNext()
Gets the next element in the structure. |
java.lang.Object |
getPredecessor()
Gets the element directly before the current position and returns ts value. |
java.lang.Object |
getValueByIndexNumber(int number)
Gets the element positioned at the specified position in the structure. |
java.lang.Object[] |
getValues()
Gets a list of all (currently) set values in the structure. |
java.lang.Object |
goToHead()
Gets the first element in the structure. |
java.lang.Object |
goToTail()
Gets the last element in the structure. |
void |
put(java.lang.Object key,
java.lang.Object value)
Adds a new element pair to the structure. |
int |
size()
Gets the number of elements (key-value pairs) contained in the structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderedHashMap()
Method Detail |
---|
public void put(java.lang.Object key, java.lang.Object value)
key
- the key of the new structure element.value
- the value of the new strucutre element.public java.lang.Object getKeyByValue(java.lang.Object value)
value
- the specific value
public java.lang.Object get(java.lang.Object key)
key
- the specific key.
public java.lang.Object getValueByIndexNumber(int number)
number
- the specific position of the element.
public void clear()
public java.lang.Object goToHead()
public java.lang.Object goToTail()
public java.lang.Object getNext()
public java.lang.Object getPredecessor()
public java.lang.Object[] getKeys()
public java.lang.Object[] getValues()
public int size()
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |