|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceUnit
Method Summary | |
---|---|
int |
compareTo(long thisSize,
long thatSize,
ResourceUnit thatUnit)
Compare thisSize of this unit to thatSize of
thatUnit . |
Method Detail |
---|
int compareTo(long thisSize, long thatSize, ResourceUnit thatUnit) throws java.lang.IllegalArgumentException
thisSize
of this
unit to thatSize
of
thatUnit
.
Returns 1, 0, or -1 if the thisSize
of this
is greater than,
equal to, or less than thatSize
of thatUnit
respectively.
thisSize
- size in this
unitthatSize
- size in thatUnit
thatUnit
- other unit
java.lang.IllegalArgumentException
- if the units are not comparable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |