org.hbase.async
Class Bytes.ByteMap<V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<byte[],V>
          extended by org.hbase.async.Bytes.ByteMap<V>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Map.Entry<byte[],V>>, Map<byte[],V>, NavigableMap<byte[],V>, SortedMap<byte[],V>
Enclosing class:
Bytes

public static final class Bytes.ByteMap<V>
extends TreeMap<byte[],V>
implements Iterable<Map.Entry<byte[],V>>

A convenient map keyed with a byte array.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
Bytes.ByteMap()
           
 
Method Summary
 Iterator<Map.Entry<byte[],V>> iterator()
          Returns an iterator that goes through all the entries in this map.
 String toString()
          byte[] friendly implementation.
 
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

Bytes.ByteMap

public Bytes.ByteMap()
Method Detail

iterator

public Iterator<Map.Entry<byte[],V>> iterator()
Returns an iterator that goes through all the entries in this map.

Specified by:
iterator in interface Iterable<Map.Entry<byte[],V>>

toString

public String toString()
byte[] friendly implementation.

Overrides:
toString in class AbstractMap<byte[],V>