Package org.postgresql.core
Class AsciiStringInterner.TempKey
- java.lang.Object
-
- org.postgresql.core.AsciiStringInterner.BaseKey
-
- org.postgresql.core.AsciiStringInterner.TempKey
-
- Enclosing class:
- AsciiStringInterner
private static class AsciiStringInterner.TempKey extends AsciiStringInterner.BaseKey
Only used for lookups, never to actually store entries.
-
-
Constructor Summary
Constructors Constructor Description TempKey(int hash, byte[] bytes, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
appendString(java.lang.StringBuilder sb)
boolean
equals(byte[] other, int offset, int length)
(package private) boolean
equalsBytes(AsciiStringInterner.BaseKey other)
-
Methods inherited from class org.postgresql.core.AsciiStringInterner.BaseKey
equals, hashCode
-
-
-
-
Method Detail
-
equalsBytes
boolean equalsBytes(AsciiStringInterner.BaseKey other)
- Specified by:
equalsBytes
in classAsciiStringInterner.BaseKey
-
equals
public boolean equals(byte[] other, int offset, int length)
- Specified by:
equals
in classAsciiStringInterner.BaseKey
-
appendString
void appendString(java.lang.StringBuilder sb)
- Specified by:
appendString
in classAsciiStringInterner.BaseKey
-
-