public class ColumnSortedMap extends java.lang.Object implements java.util.SortedMap<java.nio.ByteBuffer,IColumn>
Constructor and Description |
---|
ColumnSortedMap(java.util.Comparator<java.nio.ByteBuffer> comparator,
ColumnSerializer serializer,
java.io.DataInput dis,
int length,
IColumnSerializer.Flag flag,
int expireBefore) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Comparator<? super java.nio.ByteBuffer> |
comparator() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<java.nio.ByteBuffer,IColumn>> |
entrySet() |
java.nio.ByteBuffer |
firstKey() |
IColumn |
get(java.lang.Object key) |
java.util.SortedMap<java.nio.ByteBuffer,IColumn> |
headMap(java.nio.ByteBuffer toKey) |
boolean |
isEmpty() |
java.util.Set<java.nio.ByteBuffer> |
keySet() |
java.nio.ByteBuffer |
lastKey() |
IColumn |
put(java.nio.ByteBuffer key,
IColumn value) |
void |
putAll(java.util.Map<? extends java.nio.ByteBuffer,? extends IColumn> m) |
IColumn |
remove(java.lang.Object key) |
int |
size() |
java.util.SortedMap<java.nio.ByteBuffer,IColumn> |
subMap(java.nio.ByteBuffer fromKey,
java.nio.ByteBuffer toKey) |
java.util.SortedMap<java.nio.ByteBuffer,IColumn> |
tailMap(java.nio.ByteBuffer fromKey) |
java.util.Collection<IColumn> |
values() |
public ColumnSortedMap(java.util.Comparator<java.nio.ByteBuffer> comparator, ColumnSerializer serializer, java.io.DataInput dis, int length, IColumnSerializer.Flag flag, int expireBefore)
public int size()
size
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public IColumn get(java.lang.Object key)
get
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public IColumn put(java.nio.ByteBuffer key, IColumn value)
put
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public IColumn remove(java.lang.Object key)
remove
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public void putAll(java.util.Map<? extends java.nio.ByteBuffer,? extends IColumn> m)
putAll
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public void clear()
clear
in interface java.util.Map<java.nio.ByteBuffer,IColumn>
public java.util.Comparator<? super java.nio.ByteBuffer> comparator()
comparator
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.util.SortedMap<java.nio.ByteBuffer,IColumn> subMap(java.nio.ByteBuffer fromKey, java.nio.ByteBuffer toKey)
subMap
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.util.SortedMap<java.nio.ByteBuffer,IColumn> headMap(java.nio.ByteBuffer toKey)
headMap
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.util.SortedMap<java.nio.ByteBuffer,IColumn> tailMap(java.nio.ByteBuffer fromKey)
tailMap
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.nio.ByteBuffer firstKey()
firstKey
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.nio.ByteBuffer lastKey()
lastKey
in interface java.util.SortedMap<java.nio.ByteBuffer,IColumn>
public java.util.Set<java.nio.ByteBuffer> keySet()
public java.util.Collection<IColumn> values()
Copyright © 2014 The Apache Software Foundation