|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecter.extensions.foundation.ERXMultiKey
public class ERXMultiKey
Simple class to use multiple objects as a single key for a dictionary or HashMap. The goal of this class is to be very fast.
| Constructor Summary | |
|---|---|
ERXMultiKey()
Constructs a multi-key. |
|
ERXMultiKey(NSArray keys)
Constructs a multi-key for a given array. |
|
ERXMultiKey(Object[] keys)
Constructs a multi-key for a given object array. |
|
ERXMultiKey(Vector keys)
Constructs a multi-key for a given vector. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Method used to compare two ERXMultiKeys. |
int |
hashCode()
Calculates a unique hash code for the given array of keys. |
Object[] |
keys()
Method used to return the object array of keys for the current multi-key. DO NOT MODIFY! |
void |
recomputeHashCode()
Recomputes the hash code if you ever changes the keys array directly |
String |
toString()
String representation of the multi-key. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERXMultiKey()
public ERXMultiKey(Object[] keys)
keys - object arraypublic ERXMultiKey(NSArray keys)
keys - array of keyspublic ERXMultiKey(Vector keys)
keys - vector of keys| Method Detail |
|---|
public final Object[] keys()
public final int hashCode()
hashCode in class Objectpublic final void recomputeHashCode()
public final boolean equals(Object o)
equals.
equals in class Objecto - object to be compared
public String toString()
toString in class Object
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||