| Modifier and Type | Class and Description |
|---|---|
private static class |
ZSet.ScoreComparator |
| Modifier and Type | Field and Description |
|---|---|
private static BytesKey |
EMPTY |
private java.util.List<ZSetEntry> |
list |
private BytesKeyObjectMap<ZSetEntry> |
map |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(BytesKey key,
double score) |
void |
addAll(ZSet other) |
private int |
find(int minIndex) |
ZSetEntry |
get(byte[] member2) |
ZSetEntry |
get(BytesKey key) |
boolean |
isEmpty() |
java.util.Iterator<ZSetEntry> |
iterator() |
java.util.List<ZSetEntry> |
list() |
boolean |
remove(byte[] member2) |
boolean |
remove(BytesKey key) |
int |
size() |
java.util.List<ZSetEntry> |
subSet(double min,
double max) |
java.lang.Iterable<ZSetEntry> |
subSet(int minIndex,
int maxIndex) |
private static final BytesKey EMPTY
private BytesKeyObjectMap<ZSetEntry> map
private java.util.List<ZSetEntry> list
public ZSet(ZSet destination)
public ZSet()
public int size()
public ZSetEntry get(byte[] member2)
public boolean remove(byte[] member2)
public java.util.Iterator<ZSetEntry> iterator()
iterator in interface java.lang.Iterable<ZSetEntry>public java.util.List<ZSetEntry> list()
public void addAll(ZSet other)
public boolean remove(BytesKey key)
public boolean add(BytesKey key, double score)
public java.lang.Iterable<ZSetEntry> subSet(int minIndex, int maxIndex)
public boolean isEmpty()
public java.util.List<ZSetEntry> subSet(double min, double max)
private int find(int minIndex)