public class KeyHasher
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
private java.lang.Object[] |
objects |
Constructor | Description |
---|---|
KeyHasher(int size) |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Object |
buildHashKey(java.lang.Object[] objects,
int[] indexes) |
Static method to return the object to hash on.
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.Object |
getObject(int index) |
Get the object stored at the specified index.
|
int |
hashCode() |
|
void |
setObject(int index,
java.lang.Object object) |
Set array element at the specified index to the specified object.
|
public void setObject(int index, java.lang.Object object)
index
- The specified indexobject
- The specified object.public java.lang.Object getObject(int index)
index
- The specified index.public static java.lang.Object buildHashKey(java.lang.Object[] objects, int[] indexes)
objects
- The array of objects to considerindexes
- The indexes of the objects in the hash key.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.