|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoordTupleString
Describe a common schema for accessing either double or float based coordinate tuple strings (arrays of tuples).
Method Summary | |
---|---|
double[] |
getasDouble(int tuple)
Accessor to retrieve a tuple |
double |
getasDouble(int tuple,
int val)
Accessor to retrieve a single value in a tuple |
float[] |
getasFloat(int tuple)
Accessor to retrieve a tuple |
float |
getasFloat(int tuple,
int val)
Accessor to retrieve a single value in a tuple |
java.lang.Number |
getPrimitiveType()
Accessor to determine the actual type managed. |
int |
maxIndex()
Accessor for the max tuple index |
Method Detail |
---|
int maxIndex()
java.lang.Number getPrimitiveType()
float[] getasFloat(int tuple)
tuple
- the tuple to retrieve (the first tuple is index 0)
tuple
, coerced into
a float[]double[] getasDouble(int tuple)
tuple
- the tuple to retrieve (the first tuple is index 0)
tuple
, coerced into
a double[]float getasFloat(int tuple, int val)
tuple
- the tuple to retrieve (the first tuple is index 0)val
- the index of the value in the tuple (the first val
is index 0)
tuple
, coerced into
a floatdouble getasDouble(int tuple, int val)
tuple
- the tuple to retrieve (the first tuple is index 0)val
- the index of the value in the tuple (the first val
is index 0)
tuple
, coerced into
a double
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |