net.sourceforge.cilib.entity
Class EntityIdFactory

java.lang.Object
  extended by net.sourceforge.cilib.entity.EntityIdFactory

public final class EntityIdFactory
extends Object

Author:
gpampara

Method Summary
static long getNextId()
          Get the next number in the sequence as an id for the Entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextId

public static long getNextId()
Get the next number in the sequence as an id for the Entity. This sequence is defined per thread and is defined to start counting from 0.

Returns:
the next number in the sequence.


Copyright © 2009 CIRG. All Rights Reserved.