|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.extensions.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(short keyCount)
Constructs a multi-key for a given number. |
|
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. |
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(short keyCount)
keyCount
- number of keyspublic ERXMultiKey()
public ERXMultiKey(Object[] keys)
keys
- object arraypublic ERXMultiKey(NSArray keys)
keys
- array of keyspublic ERXMultiKey(Vector keys)
keys
- vector of keysMethod Detail |
public final Object[] keys()
public final int hashCode()
public final boolean equals(Object o)
equals
.
o
- object to be compared
public String toString()
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |