tit.summary.FromUntilPair Class Reference

List of all members.

Public Member Functions

 FromUntilPair (long frominit, long untilinit)
 FromUntilPair (FromUntilPair original)
long getFrom ()
void setFrom (long newfrom)
long getUntil ()
void setUntil (long newuntil)
boolean equals (Object other)
int compareTo (FromUntilPair other)
String toString ()

Private Attributes

long from
long until

Detailed Description

A class wich holds a from-until pair.


Constructor & Destructor Documentation

tit.summary.FromUntilPair.FromUntilPair ( long  frominit,
long  untilinit 
)

Constructs a new FromUntilPair.

Parameters:
frominit The initial from value.
untilinit The initial until value.

tit.summary.FromUntilPair.FromUntilPair ( FromUntilPair  original  ) 

Copy-constructor.

Parameters:
original The original FromUntilPair which is copied.


Member Function Documentation

long tit.summary.FromUntilPair.getFrom (  ) 

Gets the from-value.

Returns:
The from-value.

void tit.summary.FromUntilPair.setFrom ( long  newfrom  ) 

Sets the from-value.

Parameters:
newfrom The new from-value.

long tit.summary.FromUntilPair.getUntil (  ) 

Gets the until-value.

Returns:
The until-value.

void tit.summary.FromUntilPair.setUntil ( long  newuntil  ) 

Sets the until-value.

Parameters:
newuntil The new until-value.

boolean tit.summary.FromUntilPair.equals ( Object  other  ) 

Compares this FromUntilPair to another. Two FromUntilPair are equal if their from- and until-values are equal.

Parameters:
other The Object to which this FromUntilPair is compared.
Returns:
true if the two FromUntilPairs are equal, false otherwise.

int tit.summary.FromUntilPair.compareTo ( FromUntilPair  other  ) 

Compares this FromUntilPair to another.

Parameters:
other The FromUntilPair to which this FromUntilPair is compared.
Returns:
-1 if this < other, 0 if this == other and +1 if this > other.

String tit.summary.FromUntilPair.toString (  ) 

Returns a string representation of the object.

Returns:
A string representation of the object.


Member Data Documentation

long tit.summary.FromUntilPair.from [private]

The from-vaule.

long tit.summary.FromUntilPair.until [private]

The until-value.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:01 2007 by  doxygen 1.5.1