org.ontobox.box.helper
Class Sorter.ObjectValue<T extends java.lang.Comparable>

java.lang.Object
  extended by org.ontobox.box.helper.Sorter.ObjectValue<T>
All Implemented Interfaces:
java.lang.Comparable<Sorter.ObjectValue<T>>
Enclosing class:
Sorter

protected static class Sorter.ObjectValue<T extends java.lang.Comparable>
extends java.lang.Object
implements java.lang.Comparable<Sorter.ObjectValue<T>>


Constructor Summary
Sorter.ObjectValue(int object, T value)
           
 
Method Summary
 int compareTo(Sorter.ObjectValue<T> o)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sorter.ObjectValue

public Sorter.ObjectValue(int object,
                          T value)
Method Detail

compareTo

public int compareTo(Sorter.ObjectValue<T> o)
Specified by:
compareTo in interface java.lang.Comparable<Sorter.ObjectValue<T extends java.lang.Comparable>>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object