private final class Pkgnamcsn.StatementKey
extends java.lang.Object
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.Database
Modifier and Type | Field | Description |
---|---|---|
private int |
hash |
Cached hash code.
|
Modifier | Constructor | Description |
---|---|---|
private |
StatementKey() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
Check whether RDBNAM, RDBCOLID, PKGID and PKGSN of another
StatementKey object matches this object. |
int |
hashCode() |
Calculate hash code.
|
private boolean |
isKeyFor(Pkgnamcsn p) |
Check whether this object can be used as a key for a
Pkgnamcsn object. |
public boolean equals(java.lang.Object obj)
StatementKey
object matches this object.equals
in class java.lang.Object
obj
- another objectpublic int hashCode()
hashCode
in class java.lang.Object
private boolean isKeyFor(Pkgnamcsn p)
Pkgnamcsn
object.p
- a Pkgnamcsn
valuePkgnamcsn
objectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.