|
||||||||||
| 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.HashMap<K,V>
java.util.LinkedHashMap<String,V>
ch.panter.li.bi.util.NamedItemLinkedMap<V>
public class NamedItemLinkedMap<V extends NamedItem>
| Constructor Summary | |
|---|---|
NamedItemLinkedMap()
Creates a new empty instance |
|
| Method Summary | |
|---|---|
boolean |
containsKey(String key)
determines whether the map contains an entry under the given key |
V |
get(String key)
gets the object stored under the given key |
Iterator<V> |
iterator()
|
Iterator<String> |
keyIterator()
Iterator over the keys in this instance |
String[] |
keysAsArray(String[] array)
Returns an array containing all keys of this instance according to the contract defined in java.util.Collection#toArray(T[] a). |
V |
put(String key,
V item)
|
V |
put(V item)
|
Iterator<V> |
valueIterator()
Iterator over the values in this instance |
V[] |
valuesAsArray(V[] array)
Returns an array containing all values of this instance according to the contract defined in java.util.Collection#toArray(T[] a). |
| Methods inherited from class java.util.LinkedHashMap |
|---|
clear, containsValue, get, removeEldestEntry |
| Methods inherited from class java.util.HashMap |
|---|
clone, containsKey, entrySet, isEmpty, keySet, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ch.panter.li.bi.util.ReadOnlyNamedItemMap |
|---|
isEmpty, size |
| Methods inherited from interface java.util.Map |
|---|
containsKey, entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values |
| Constructor Detail |
|---|
public NamedItemLinkedMap()
| Method Detail |
|---|
public boolean containsKey(String key)
ReadOnlyNamedItemMap
containsKey in interface ReadOnlyNamedItemMap<V extends NamedItem>public V get(String key)
ReadOnlyNamedItemMap
get in interface ReadOnlyNamedItemMap<V extends NamedItem>
public final V put(String key,
V item)
put in interface Map<String,V extends NamedItem>put in class HashMap<String,V extends NamedItem>public V put(V item)
public Iterator<String> keyIterator()
ReadOnlyNamedItemMap
keyIterator in interface ReadOnlyNamedItemMap<V extends NamedItem>public Iterator<V> valueIterator()
ReadOnlyNamedItemMap
valueIterator in interface ReadOnlyNamedItemMap<V extends NamedItem>public String[] keysAsArray(String[] array)
ReadOnlyNamedItemMapjava.util.Collection#toArray(T[] a).
keysAsArray in interface ReadOnlyNamedItemMap<V extends NamedItem>array - the target array
public V[] valuesAsArray(V[] array)
ReadOnlyNamedItemMapjava.util.Collection#toArray(T[] a).
valuesAsArray in interface ReadOnlyNamedItemMap<V extends NamedItem>array - the target array
public Iterator<V> iterator()
iterator in interface Iterable<V extends NamedItem>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||