V
- value typepublic interface RSortedSet<V> extends SortedSet<V>, RObject
Modifier and Type | Method and Description |
---|---|
RFuture<Boolean> |
addAsync(V value) |
<KOut,VOut> |
mapReduce()
Returns
RMapReduce object associated with this object |
Set<V> |
readAll() |
RFuture<Set<V>> |
readAllAsync() |
RFuture<Boolean> |
removeAsync(V value) |
boolean |
trySetComparator(Comparator<? super V> comparator)
Sets new comparator only if current set is empty
|
comparator, first, headSet, last, spliterator, subSet, tailSet
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync
<KOut,VOut> RCollectionMapReduce<V,KOut,VOut> mapReduce()
RMapReduce
object associated with this objectKOut
- output keyVOut
- output valueboolean trySetComparator(Comparator<? super V> comparator)
comparator
- for valuestrue
if new comparator setted
false
otherwiseCopyright © 2014–2017 The Redisson Project. All rights reserved.