private static class DynamicTablesHelper.CacheKey
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
DynamicTablesHelper.CacheKey.IndexKey
Instances of this class are used to wrap instances of
P2JIndex, for purposes of
producing hash codes suitable for using instances of the enclosing class as hash map
keys. |
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<P2JField> |
fields
List of field definitions for a dynamic temp-table
|
private java.util.List<DynamicTablesHelper.CacheKey.IndexKey> |
indexes
List of index definition wrappers for a dynamic temp-table
|
| Constructor and Description |
|---|
CacheKey(java.util.Collection<P2JField> fields,
java.util.Collection<P2JIndex> indexes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Use the field and index definitions in this key to determine equivalence with the given
object.
|
int |
hashCode()
Use the field and index definitions in this key to calculate a hash code.
|
java.lang.String |
toString()
To string method concatenating the string values of all fields and indexes.
|
private final java.util.List<P2JField> fields
private final java.util.List<DynamicTablesHelper.CacheKey.IndexKey> indexes
public int hashCode()
equals(Object).hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
hashCode().equals in class java.lang.Objecttrue if this object is equivalent with o, else false.public java.lang.String toString()
toString in class java.lang.Object