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 |
tit.summary.FromUntilPair.FromUntilPair | ( | long | frominit, | |
long | untilinit | |||
) |
Constructs a new FromUntilPair
.
frominit | The initial from value. | |
untilinit | The initial until value. |
tit.summary.FromUntilPair.FromUntilPair | ( | FromUntilPair | original | ) |
Copy-constructor.
original | The original FromUntilPair which is copied. |
long tit.summary.FromUntilPair.getFrom | ( | ) |
Gets the from-value.
void tit.summary.FromUntilPair.setFrom | ( | long | newfrom | ) |
Sets the from-value.
newfrom | The new from-value. |
long tit.summary.FromUntilPair.getUntil | ( | ) |
Gets the until-value.
void tit.summary.FromUntilPair.setUntil | ( | long | newuntil | ) |
Sets the until-value.
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.
other | The Object to which this FromUntilPair is compared. |
true
if the two FromUntilPair
s are equal, false
otherwise. int tit.summary.FromUntilPair.compareTo | ( | FromUntilPair | other | ) |
Compares this FromUntilPair
to another.
other | The FromUntilPair to which this FromUntilPair is compared. |
this
< other
, 0 if this
== other
and +1 if this
> other
. String tit.summary.FromUntilPair.toString | ( | ) |
Returns a string representation of the object.
long tit.summary.FromUntilPair.from [private] |
The from-vaule.
long tit.summary.FromUntilPair.until [private] |
The until-value.