|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.panayotis.gnuplot.dataset.Point<N>
public class Point<N extends java.lang.Number>
This object represents a N-dimensional point. It is used in PointDataSet as the actual data object
| Constructor Summary | |
|---|---|
Point(N... coords)
Creates a new instance of Point with given coocrdinates |
|
| Method Summary | |
|---|---|
N |
get(int dimension)
Retrieve the value of a specific coordinate of this point |
int |
getDimensions()
Retrieve the actual coordinations of this point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point(N... coords)
coords - The coordinates given as a list of native (or boxed) type numbers.| Method Detail |
|---|
public N get(int dimension)
throws java.lang.ArrayIndexOutOfBoundsException
dimension - the coordination dimension
java.lang.ArrayIndexOutOfBoundsException - The coordination required is not
presentpublic int getDimensions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||