Package com.fasterxml.aalto.util
Class UriCanonicalizer.CanonicalKey
java.lang.Object
com.fasterxml.aalto.util.UriCanonicalizer.CanonicalKey
- Enclosing class:
UriCanonicalizer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final char[]
Array containing characters of the canonicalized String.(package private) final int
Hash of the URI string, calculated using fast(er) hash function (compared to regular String).(package private) final int
Length of canonicalized String -
Constructor Summary
ConstructorsConstructorDescriptionCanonicalKey
(char[] buffer, int len) CanonicalKey
(char[] buffer, int len, int hashCode) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
calcKeyHash
(char[] buffer, int len) boolean
int
hashCode()
toString()
-
Field Details
-
mChars
final char[] mCharsArray containing characters of the canonicalized String. -
mLength
final int mLengthLength of canonicalized String -
mHash
final int mHashHash of the URI string, calculated using fast(er) hash function (compared to regular String).
-
-
Constructor Details
-
CanonicalKey
public CanonicalKey(char[] buffer, int len) -
CanonicalKey
public CanonicalKey(char[] buffer, int len, int hashCode)
-
-
Method Details