|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<T>
T - The type.public abstract class AbstractComparableObject<T>
This class compares objects for order. It is an implementation of the ExtendedComparable interface. All it's compare methods are based on the compareTo()-method, which has to be implemented by extending classes.
| Constructor Summary | |
|---|---|
AbstractComparableObject()
|
|
| Method Summary | |
|---|---|
abstract int |
compareTo(T o)
Compares this object with the specified object for order. |
boolean |
isEQ(T o)
Compares if this object is equal to the specified object. |
boolean |
isGE(T o)
Compares if this object is greater or equal than the specified object. |
boolean |
isGT(T o)
Compares if this object is greater than the specified object. |
boolean |
isLE(T o)
Compares if this object is less or equal than the specified object. |
boolean |
isLT(T o)
Compares if this object is less than the specified object. |
boolean |
isNE(T o)
Compares if this object is not equal to the specified object. |
| Methods inherited from class jasi.sim.basic.value.AbstractSimValueType |
|---|
getContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractComparableObject()
| Method Detail |
|---|
public final boolean isLT(T o)
isLT in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isLT(Object)public final boolean isLE(T o)
isLE in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isLE(Object)public final boolean isGT(T o)
isGT in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isGT(Object)public final boolean isGE(T o)
isGE in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isGE(Object)public final boolean isEQ(T o)
isEQ in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isEQ(Object)public final boolean isNE(T o)
isNE in interface ExtendedComparable<T>o - That object which is to compared with this object.
ExtendedComparable.isNE(Object)public abstract int compareTo(T o)
compareTo in interface java.lang.Comparable<T>o - That object which is compared with this object.
Comparable.compareTo(Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||