com.rubecula.darwin.foundation
Class ComparableValue_

java.lang.Object
  extended by com.rubecula.darwin.foundation.ComparableValue_
All Implemented Interfaces:
ComparableValue, Valuable, java.lang.Comparable<Valuable>, net.sf.tostring0.Identifiable

public abstract class ComparableValue_
extends java.lang.Object
implements ComparableValue

Author:
Robin Hillyard

Constructor Summary
ComparableValue_()
           
 
Method Summary
 int compareTo(Valuable o)
           
static int compareTo(Valuable o1, Valuable o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.rubecula.darwin.foundation.Valuable
getValue
 
Methods inherited from interface net.sf.tostring0.Identifiable
getIdentifier
 

Constructor Detail

ComparableValue_

public ComparableValue_()
Method Detail

compareTo

public static int compareTo(Valuable o1,
                            Valuable o2)
                     throws ValueException
Parameters:
o1 -
o2 -
Returns:
-1, 0, or 1 according as o1 is less than, equal, or greater than o2
Throws:
ValueException
See Also:
Comparable.compareTo(java.lang.Object)

compareTo

public int compareTo(Valuable o)
Specified by:
compareTo in interface java.lang.Comparable<Valuable>
See Also:
Comparable.compareTo(java.lang.Object)


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.