|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapManagerStrategy
| Method Summary | |
|---|---|
void |
clear()
Clears all elements. |
java.lang.Object |
clone()
Creates a shallow copy of this object, preserving the internal structure by copying only references. |
void |
decrease(int index,
java.lang.Object key)
Removes the element with the specified key or index. |
void |
freshenSequence(java.lang.Object key,
java.lang.Object value)
Freshens the sequence of the element value if
value is not null. |
java.lang.Object |
get(int index)
Returns the key at the specified index. |
ManagedMap |
getManagedMap()
|
void |
increase(java.lang.Object key,
java.lang.Object prevValue,
java.lang.Object newValue)
Stores the provided key/value pair. |
int |
indexOf(java.lang.Object key)
Returns the index of the specified key. |
java.util.Iterator |
iterator()
Returns a key iterator. |
int |
lastIndexOf(java.lang.Object key)
Returns the last index of the specified key. |
void |
removeManagedMap()
|
java.util.List |
sequence()
Returns the ordered sequence of keys. |
void |
setManagedMap(ManagedMap managedMap)
|
| Method Detail |
|---|
void clear()
java.lang.Object clone()
clone()'d.
void decrease(int index,
java.lang.Object key)
index - The index of the object to remove, or
UNKNOWN_INDEX if not known.key - The Map key of the object to remove.
void freshenSequence(java.lang.Object key,
java.lang.Object value)
value if
value is not null.
key - The key whose sequence to freshen.value - The value whose existance to check before removing the old
key sequence.java.lang.Object get(int index)
ManagedMap getManagedMap()
void increase(java.lang.Object key,
java.lang.Object prevValue,
java.lang.Object newValue)
key - The key to the provided value.value - The value to store.int indexOf(java.lang.Object key)
java.util.Iterator iterator()
int lastIndexOf(java.lang.Object key)
java.util.List sequence()
## $table contains a sequenced map #foreach ($key in $table.sequence()) <TR> <TD>Key: $key</TD> </TD>Value: $table.get($key)</TD> </TR> #end
void setManagedMap(ManagedMap managedMap)
void removeManagedMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||