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 intHash of the URI string, calculated using fast(er) hash function (compared to regular String).(package private) final intLength of canonicalized String -
Constructor Summary
ConstructorsConstructorDescriptionCanonicalKey(char[] buffer, int len) CanonicalKey(char[] buffer, int len, int hashCode) -
Method Summary
Modifier and TypeMethodDescriptionstatic intcalcKeyHash(char[] buffer, int len) booleaninthashCode()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
-
safeClone
-
calcKeyHash
public static int calcKeyHash(char[] buffer, int len) -
toString
-
hashCode
-
equals
-