EVolve.util
Class Sorter

java.lang.Object
  |
  +--EVolve.util.Sorter
All Implemented Interfaces:
java.lang.Cloneable

public class Sorter
extends java.lang.Object
implements java.lang.Cloneable


Constructor Summary
Sorter(Entity[] array, EntityComparator comparator)
           
 
Method Summary
 java.lang.Object clone()
           
 int getSource(int target)
           
 int getTarget(int source)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sorter

public Sorter(Entity[] array,
              EntityComparator comparator)
Method Detail

getTarget

public int getTarget(int source)

getSource

public int getSource(int target)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object