|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Index
Index is a index for one column of tabular data.
Constructor Summary | |
Index(double[] doubleArr,
int rows)
Constructor creates index on given array (column). |
|
Index(int[] classArr,
int rows)
Constructor creates index on given array (column). |
|
Index(long[] longArr,
int rows)
Constructor creates index on given array (column). |
Method Summary | |
int |
findFirst(double value)
Method finds the first row which is same or bigger than given value. |
int |
findFirst(int value)
Method finds the first row which is same or bigger than given value. |
int |
findFirst(long value)
Method finds the first row which is same or bigger than given value. |
int |
getValue(int rowNo)
Method returns the number of row in valuearray. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Index(long[] longArr, int rows)
lognArr
- - Array on which the index will be made.rows
- - The number of rows in array.public Index(double[] doubleArr, int rows)
lognArr
- - Array on which the index will be made.rows
- - The number of rows in array.public Index(int[] classArr, int rows)
lognArr
- - Array on which the index will be made.rows
- - The number of rows in array.Method Detail |
public int findFirst(long value)
value
- - The tested value.public int findFirst(double value)
value
- - The tested value.public int findFirst(int value)
value
- - The tested value.public int getValue(int rowNo)
rowNo
- - The number of row in indexarray.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |