V
- the type of elements held in this collectionpublic interface RList<V> extends List<V>, RExpirable, RListAsync<V>, RandomAccess
List
Modifier and Type | Method and Description |
---|---|
Integer |
addAfter(V elementToFind,
V element)
Add
element after elementToFind |
Integer |
addBefore(V elementToFind,
V element)
Add
element before elementToFind |
void |
fastRemove(int index) |
void |
fastSet(int index,
V element)
Set
element at index . |
List<V> |
readAll()
Read all elements at once
|
RList<V> |
subList(int fromIndex,
int toIndex) |
void |
trim(int fromIndex,
int toIndex)
Trim list and remains elements only in specified range
fromIndex, inclusive, and toIndex, inclusive.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, toArray, toArray
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getName, isExists, migrate, move, rename, renamenx
addAfterAsync, addAllAsync, addBeforeAsync, fastRemoveAsync, fastSetAsync, getAsync, indexOfAsync, lastIndexOfAsync, readAllAsync, setAsync, trimAsync
addAllAsync, addAsync, containsAllAsync, containsAsync, removeAllAsync, removeAsync, retainAllAsync, sizeAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
Integer addAfter(V elementToFind, V element)
element
after elementToFind
elementToFind
- element
- Integer addBefore(V elementToFind, V element)
element
before elementToFind
elementToFind
- element
- void fastSet(int index, V element)
index
- element
- void trim(int fromIndex, int toIndex)
fromIndex
- toIndex
- void fastRemove(int index)
Copyright © 2014–2016. All rights reserved.