Class CaseInsensitiveBytesHash<V>
java.lang.Object
org.jcodings.util.Hash<V>
org.jcodings.util.CaseInsensitiveBytesHash<V>
- All Implemented Interfaces:
Iterable<V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classclassNested classes/interfaces inherited from class Hash
Hash.HashEntry<V>, Hash.HashEntryIterator, Hash.HashIterator -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancaseInsensitiveEquals(byte[] bytes, byte[] oBytes) static booleancaseInsensitiveEquals(byte[] bytes, int p, int end, byte[] oBytes, int oP, int oEnd) delete(byte[] bytes) delete(byte[] bytes, int p, int end) get(byte[] bytes) get(byte[] bytes, int p, int end) static inthashCode(byte[] bytes, int p, int end) protected voidinit()voidvoidMethods inherited from class Hash
bucketIndex, checkResize, hashValue, iterator, resize, sizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
CaseInsensitiveBytesHash
public CaseInsensitiveBytesHash() -
CaseInsensitiveBytesHash
public CaseInsensitiveBytesHash(int size)
-
-
Method Details
-
init
-
hashCode
public static int hashCode(byte[] bytes, int p, int end) -
put
-
put
-
putDirect
-
putDirect
-
get
-
get
-
delete
-
delete
-
entryIterator
- Overrides:
entryIteratorin classHash<V>
-
caseInsensitiveEquals
public static boolean caseInsensitiveEquals(byte[] bytes, int p, int end, byte[] oBytes, int oP, int oEnd) -
caseInsensitiveEquals
public static boolean caseInsensitiveEquals(byte[] bytes, byte[] oBytes)
-