| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sitools.dataset.database.Range
public class Range
Object to store range between to integer
| Constructor Summary | |
|---|---|
Range()
Default constructor  | 
|
Range(int start,
      int end)
Constuctor with start and end  | 
|
| Method Summary | |
|---|---|
 int | 
compareTo(Range o)
 | 
 int | 
getEnd()
Gets the end value  | 
 int | 
getSize()
Calculate the range size  | 
 int | 
getStart()
Gets the start value  | 
 void | 
setEnd(int end)
Sets the value of end  | 
 void | 
setStart(int start)
Sets the value of start  | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Range()
public Range(int start,
             int end)
start - the start paramend - the end param| Method Detail | 
|---|
public int getStart()
public void setStart(int start)
start - the start to setpublic int getEnd()
public void setEnd(int end)
end - the end to setpublic int getSize()
public int compareTo(Range o)
compareTo in interface java.lang.Comparable<Range>public java.lang.String toString()
toString in class java.lang.Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||