choco.kernel.common
Class IndexFactory

java.lang.Object
  extended by choco.kernel.common.IndexFactory

public class IndexFactory
extends Object


Field Summary
static long base
           
 long index
           
 
Constructor Summary
IndexFactory()
           
 
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
 

Field Detail

index

public long index

base

public static long base
Constructor Detail

IndexFactory

public IndexFactory()
Method Detail

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.