org.jcodings.util
Class CaseInsensitiveBytesHash<V>

java.lang.Object
  extended by org.jcodings.util.Hash<V>
      extended by org.jcodings.util.CaseInsensitiveBytesHash<V>
All Implemented Interfaces:
Iterable<V>

public final class CaseInsensitiveBytesHash<V>
extends Hash<V>


Nested Class Summary
static class CaseInsensitiveBytesHash.CaseInsensitiveBytesHashEntry<V>
           
 
Nested classes/interfaces inherited from class org.jcodings.util.Hash
Hash.HashEntryIterator, Hash.HashIterator
 
Field Summary
 
Fields inherited from class org.jcodings.util.Hash
head, size, table
 
Constructor Summary
CaseInsensitiveBytesHash()
           
CaseInsensitiveBytesHash(int size)
           
 
Method Summary
 V delete(byte[] bytes)
           
 V delete(byte[] bytes, int p, int end)
           
 V get(byte[] bytes)
           
 V get(byte[] bytes, int p, int end)
           
static int hashCode(byte[] bytes, int p, int end)
           
protected  void init()
           
 V put(byte[] bytes, int p, int end, V value)
           
 V put(byte[] bytes, V value)
           
 void putDirect(byte[] bytes, int p, int end, V value)
           
 void putDirect(byte[] bytes, V value)
           
 
Methods inherited from class org.jcodings.util.Hash
bucketIndex, checkResize, entryIterator, hashValue, iterator, resize, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseInsensitiveBytesHash

public CaseInsensitiveBytesHash()

CaseInsensitiveBytesHash

public CaseInsensitiveBytesHash(int size)
Method Detail

init

protected void init()
Specified by:
init in class Hash<V>

hashCode

public static int hashCode(byte[] bytes,
                           int p,
                           int end)

put

public V put(byte[] bytes,
             V value)

put

public V put(byte[] bytes,
             int p,
             int end,
             V value)

putDirect

public void putDirect(byte[] bytes,
                      V value)

putDirect

public void putDirect(byte[] bytes,
                      int p,
                      int end,
                      V value)

get

public V get(byte[] bytes)

get

public V get(byte[] bytes,
             int p,
             int end)

delete

public V delete(byte[] bytes)

delete

public V delete(byte[] bytes,
                int p,
                int end)


Copyright © 2011. All Rights Reserved.