jasi.sim.basic.value
Interface ExtendedComparable<T>

Type Parameters:
T - The type.
All Superinterfaces:
java.lang.Comparable<T>, java.io.Serializable
All Known Subinterfaces:
Event
All Known Implementing Classes:
AbstractActivityBean, AbstractComparableObject, AbstractElementBean, AbstractEventBean, AbstractRepeatingEvent, ActivityEvent, AirplaneBean, AirplaneHandler, AirportBean, AirportHandler, Arc, BinaryRelation, BinaryRelationHandler, ComparableGeoObject, ComplexElement, ComplexElementHandler, FlightBean, FlightHandler, Id, LandEvent, Latitude, LinearActivity, Longitude, MultiRelation, MultiRelationHandler, NextLocationEvent, SimpleEvent, SimpleMovingElement, SimpleMovingElementHandler, SimpleRepeatingEvent, Space, Speed, StartEvent, StatusPrintEvent, StopMovementEvent, TFloat, Time, TimeStepEvent, TInteger, TString

public interface ExtendedComparable<T>
extends java.lang.Comparable<T>, java.io.Serializable

This interface compares objects for order by adding methods for easier comparing.


Method Summary
 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 interface java.lang.Comparable
compareTo
 

Method Detail

isLT

boolean isLT(T o)
Compares if this object is less than the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.

isLE

boolean isLE(T o)
Compares if this object is less or equal than the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.

isGT

boolean isGT(T o)
Compares if this object is greater than the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.

isGE

boolean isGE(T o)
Compares if this object is greater or equal than the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.

isEQ

boolean isEQ(T o)
Compares if this object is equal to the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.

isNE

boolean isNE(T o)
Compares if this object is not equal to the specified object.

Parameters:
o - That object which is to compared with this object.
Returns:
True, if this object is less than the specified object.