|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.element.OrderlyMap
public class OrderlyMap
This class has HashMap instance and ArrayList instance.
| Constructor Summary | |
|---|---|
OrderlyMap()
Default constructor |
|
| Method Summary | |
|---|---|
Object |
get(int index)
|
Object |
get(Object key)
|
int |
getIndex(Object key)
This method return index value |
Object |
getKey(int index)
|
List |
getKeyList()
|
Set |
keySet()
Returns a set view of the keys contained in this map. |
void |
put(int index,
Object key,
Object value)
Associates the specified value with the specified key in this map. |
void |
put(Object key,
Object value)
Associates the specified value with the specified key in this map. |
void |
remove(Object key)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderlyMap()
| Method Detail |
|---|
public Set keySet()
public void put(Object key,
Object value)
key - key with which the specified value is to be associated.value - value to be associated with the specified key.
public void put(int index,
Object key,
Object value)
index - index to put in this key list.key - key with which the specified value is to be associated.value - value to be associated with the specified key.public Object get(Object key)
public List getKeyList()
public Object get(int index)
public Object getKey(int index)
public int getIndex(Object key)
key -
public void remove(Object key)
public int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||