choco.kernel.common
Class IndexFactory
java.lang.Object
choco.kernel.common.IndexFactory
public class IndexFactory
- extends Object
Method Summary |
static long |
getId()
STATIC = STRONGLY JVM DEPENDANT!! |
long |
getIndex()
Return a unique index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
index
public long index
base
public static long base
IndexFactory
public IndexFactory()
getIndex
public final long getIndex()
- Return a unique index
- Returns:
getId
public static long getId()
- STATIC = STRONGLY JVM DEPENDANT!!
Be sure you are using the correct method!!
Must not be used as hashCode!
Return a unique id
- Returns:
Copyright © 2012. All Rights Reserved.