Class Pkgnamcsn.StatementKey
java.lang.Object
org.apache.derby.impl.drda.Pkgnamcsn.StatementKey
- Enclosing class:
Pkgnamcsn
Class for objects used as keys in the hash table
stmtTable found in the Database
class. The equals() and hashCode()
methods consider other StatementKey objects equal
to this object if they are associated with a
Pkgnamcsn object with the same values for RDBNAM,
RDBCOLID, PKGID and PKGSN.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether RDBNAM, RDBCOLID, PKGID and PKGSN of anotherStatementKeyobject matches this object.inthashCode()Calculate hash code.private booleanCheck whether this object can be used as a key for aPkgnamcsnobject.
-
Field Details
-
hash
private int hashCached hash code.
-
-
Constructor Details
-
StatementKey
private StatementKey()
-
-
Method Details
-
equals
-
hashCode
-
isKeyFor
Check whether this object can be used as a key for aPkgnamcsnobject.- Parameters:
p- aPkgnamcsnvalue- Returns:
- true if this object can be key for the
Pkgnamcsnobject
-