Package org.postgresql.core
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) void
boolean
equals
(byte[] other, int offset, int length) (package private) boolean
Methods inherited from class org.postgresql.core.AsciiStringInterner.BaseKey
equals, hashCode
-
Field Details
-
key
final byte[] key
-
-
Constructor Details
-
Key
Key(byte[] key, int hash)
-
-
Method Details
-
equalsBytes
- Specified by:
equalsBytes
in classAsciiStringInterner.BaseKey
-
equals
public boolean equals(byte[] other, int offset, int length) - Specified by:
equals
in classAsciiStringInterner.BaseKey
-
appendString
- Specified by:
appendString
in classAsciiStringInterner.BaseKey
-