Modifier and Type | Field and Description |
---|---|
Comparable[] |
keys |
static int |
MAX_SIZE
This is actually limited by BlockFile.spanSize which is much smaller
|
SkipSpan |
next |
int |
nKeys |
SkipSpan |
prev |
Object[] |
vals |
Modifier | Constructor and Description |
---|---|
protected |
SkipSpan() |
|
SkipSpan(int size) |
Modifier and Type | Method and Description |
---|---|
Comparable |
firstKey()
I2P
|
void |
flush() |
Object |
get(Comparable key) |
SkipSpan |
getEnd() |
SkipSpan |
getSpan(Comparable key,
int[] search) |
void |
killInstance() |
SkipSpan |
newInstance(SkipList sl) |
String |
print()
dumps all the data from here to the end
|
SkipSpan |
put(Comparable key,
Object val,
SkipList sl) |
Object[] |
remove(Comparable key,
SkipList sl) |
public static final int MAX_SIZE
public int nKeys
public Comparable[] keys
public Object[] vals
public SkipSpan next
public SkipSpan prev
public void killInstance()
public void flush()
public String print()
public SkipSpan getEnd()
public SkipSpan getSpan(Comparable key, int[] search)
public Object get(Comparable key)
public SkipSpan put(Comparable key, Object val, SkipList sl)
public Object[] remove(Comparable key, SkipList sl)
public Comparable firstKey()