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) voidappendString(java.lang.StringBuilder sb)booleanequals(byte[] other, int offset, int length)(package private) booleanequalsBytes(AsciiStringInterner.BaseKey other)-
Methods inherited from class org.postgresql.core.AsciiStringInterner.BaseKey
equals, hashCode
-
-
-
-
Method Detail
-
equalsBytes
boolean equalsBytes(AsciiStringInterner.BaseKey other)
- Specified by:
equalsBytesin classAsciiStringInterner.BaseKey
-
equals
public boolean equals(byte[] other, int offset, int length)- Specified by:
equalsin classAsciiStringInterner.BaseKey
-
appendString
void appendString(java.lang.StringBuilder sb)
- Specified by:
appendStringin classAsciiStringInterner.BaseKey
-
-