Class AsciiStringInterner.Key
java.lang.Object
org.postgresql.core.AsciiStringInterner.BaseKey
org.postgresql.core.AsciiStringInterner.Key
- Enclosing class:
AsciiStringInterner
Instance used for inserting values into the cache. The
byte[] must be a copy
that will never be mutated.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidbooleanequals(byte[] other, int offset, int length) (package private) booleanMethods inherited from class AsciiStringInterner.BaseKey
equals, hashCode
-
Field Details
-
key
final byte[] key
-
-
Constructor Details
-
Key
Key(byte[] key, int hash)
-
-
Method Details
-
equalsBytes
- Specified by:
equalsBytesin classAsciiStringInterner.BaseKey
-
equals
public boolean equals(byte[] other, int offset, int length) - Specified by:
equalsin classAsciiStringInterner.BaseKey
-
appendString
- Specified by:
appendStringin classAsciiStringInterner.BaseKey
-