public class RMKeyList
extends java.util.AbstractList
| Modifier and Type | Class and Description |
|---|---|
static class |
RMKeyList.InvalidKeyListException
An exception class which is thrown when creating a new key-list with invalid object key.
|
| Constructor and Description |
|---|
RMKeyList(java.lang.Object anObj,
java.lang.String aKey)
Creates a new key list.
|
RMKeyList(java.lang.Object anObj,
java.lang.String aKey,
java.lang.String aSubkey)
Creates a new key list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int anIndex,
java.lang.Object anObj)
Adds the object at the given index.
|
java.lang.Object |
create()
Creates a new object for this list.
|
java.lang.Object |
get(int anIndex)
Returns the list element at the given index.
|
java.lang.Object |
remove(int anIndex)
Removes the object at the given index.
|
java.lang.Object |
set(int anIndex,
java.lang.Object anObj)
Resets the object at the given index to given object.
|
int |
size()
Returns the number of objects for key-list key.
|
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic RMKeyList(java.lang.Object anObj,
java.lang.String aKey)
public RMKeyList(java.lang.Object anObj,
java.lang.String aKey,
java.lang.String aSubkey)
public int size()
size in interface java.util.Collectionsize in interface java.util.Listsize in class java.util.AbstractCollectionpublic java.lang.Object get(int anIndex)
get in interface java.util.Listget in class java.util.AbstractListpublic java.lang.Object set(int anIndex,
java.lang.Object anObj)
set in interface java.util.Listset in class java.util.AbstractListpublic void add(int anIndex,
java.lang.Object anObj)
add in interface java.util.Listadd in class java.util.AbstractListpublic java.lang.Object remove(int anIndex)
remove in interface java.util.Listremove in class java.util.AbstractListpublic java.lang.Object create()