org.cojen.util
Class KeyFactory
java.lang.Object
org.cojen.util.KeyFactory
public class KeyFactory
- extends Object
KeyFactory generates keys which can be hashed or compared for any kind of
object including arrays, arrays of arrays, and null. All hashcode
computations, equality tests, and ordering comparsisons fully recurse into
arrays.
- Author:
- Brian S O'Neill
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyFactory
protected KeyFactory()
createKey
public static Object createKey(boolean[] obj)
createKey
public static Object createKey(byte[] obj)
createKey
public static Object createKey(char[] obj)
createKey
public static Object createKey(double[] obj)
createKey
public static Object createKey(float[] obj)
createKey
public static Object createKey(int[] obj)
createKey
public static Object createKey(long[] obj)
createKey
public static Object createKey(short[] obj)
createKey
public static Object createKey(Object[] obj)
createKey
public static Object createKey(Object obj)
Copyright © 2004-2011 Brian S O'Neill. All Rights Reserved.