|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultivaluedOrderedIndex
Representation of non-unique index. Sorted list of values is associated with each key.
Method Summary | |
---|---|
void |
add(java.lang.Object key,
int index,
java.lang.Object value)
Inserts the specified element at the specified position in the list of values associated with the specified key. |
java.util.List |
getItemsOrdered(java.lang.Object key)
Returns a list view of the values assosiated in the index with specified key. |
java.util.Collection |
getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
Like getItemsOrdered, but if the index contains keys, this returns the objects corresponding to the key |
boolean |
remove(java.lang.Object key,
int index)
Removes the element at the specified position in the list of values associated with the specified key. |
void |
replace(java.lang.Object key,
int index,
java.lang.Object element)
Replaces the element at the specified position in the list of values associated with the specified key with the specified element. |
Methods inherited from interface org.netbeans.mdr.persistence.MultivaluedIndex |
---|
getItems, getObjects, isUnique, queryByKeyPrefix, remove |
Methods inherited from interface org.netbeans.mdr.persistence.Index |
---|
add, getKeyType, getName, getValueType, keySet, remove |
Method Detail |
---|
java.util.List getItemsOrdered(java.lang.Object key) throws StorageException
key
-
StorageException
java.util.Collection getObjectsOrdered(java.lang.Object key, SinglevaluedIndex repos) throws StorageException
key
-
StorageException
void add(java.lang.Object key, int index, java.lang.Object value) throws StorageException
key
- index
- value
-
StorageException
boolean remove(java.lang.Object key, int index) throws StorageException
key
- index
-
StorageException
void replace(java.lang.Object key, int index, java.lang.Object element) throws StorageException
key
- index
- element
-
StorageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |