Package org.jcodings.util
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 class
class
Nested classes/interfaces inherited from class org.jcodings.util.Hash
Hash.HashEntry<V>, Hash.HashEntryIterator, Hash.HashIterator
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
caseInsensitiveEquals
(byte[] bytes, byte[] oBytes) static boolean
caseInsensitiveEquals
(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 int
hashCode
(byte[] bytes, int p, int end) protected void
init()
void
void
Methods inherited from class org.jcodings.util.Hash
bucketIndex, checkResize, hashValue, iterator, resize, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CaseInsensitiveBytesHash
public CaseInsensitiveBytesHash() -
CaseInsensitiveBytesHash
public CaseInsensitiveBytesHash(int size)
-
-
Method Details
-
init
protected void init() -
hashCode
public static int hashCode(byte[] bytes, int p, int end) -
put
-
put
-
putDirect
-
putDirect
-
get
-
get
-
delete
-
delete
-
entryIterator
- Overrides:
entryIterator
in 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)
-