Ableverse™
TOB 6.0

av.tob
Class LastCreatedFirst

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

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

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


Field Summary
static LastCreatedFirst instance
           
 
Constructor Summary
LastCreatedFirst()
           
 
Method Summary
 int compare(Kin<?,?> o1, Kin<?,?> o2)
           
static LastCreatedFirst 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 LastCreatedFirst instance
Constructor Detail

LastCreatedFirst

public LastCreatedFirst()
Method Detail

singleton

public static final LastCreatedFirst 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.