Ableverse™
TOB 6.0

av.tob
Class FirstCreatedFirst

java.lang.Object
  extended by av.tob.FirstCreatedFirst
All Implemented Interfaces:
Comparator<Kin<?,?>>

public final class FirstCreatedFirst
extends Object
implements Comparator<Kin<?,?>>

Sort kins by related object creation time after source relation creation time, first created appear first.


Field Summary
static FirstCreatedFirst instance
           
 
Constructor Summary
FirstCreatedFirst()
           
 
Method Summary
 int compare(Kin<?,?> o1, Kin<?,?> o2)
           
static FirstCreatedFirst singleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

instance

public static final FirstCreatedFirst instance
Constructor Detail

FirstCreatedFirst

public FirstCreatedFirst()
Method Detail

singleton

public static final FirstCreatedFirst singleton()

compare

public int compare(Kin<?,?> o1,
                   Kin<?,?> o2)
Specified by:
compare in interface Comparator<Kin<?,?>>

Ableverse™
TOB 6.0

Copyright© 2006 Ableverse Platform. All rights reserved.