|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.setupgenerator.Point<E>
public class Point<E>
A multi-dimensional point.
| Field Summary | |
|---|---|
protected Object[] |
m_Values
the values in the various dimensions. |
| Constructor Summary | |
|---|---|
Point(E[] values)
Initializes the point with the given values. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of itself. |
int |
dimensions()
Returns the number of dimensions this points uses. |
boolean |
equals(Object obj)
Determines whether or not two points are equal. |
E |
getValue(int dimension)
Returns the value in the specified dimension. |
String |
toString()
returns a string representation of the Point. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Object[] m_Values
| Constructor Detail |
|---|
public Point(E[] values)
values - the position in the various dimensions| Method Detail |
|---|
public Object clone()
clone in class Objectpublic int dimensions()
public E getValue(int dimension)
dimension - the dimension to get the value for
public boolean equals(Object obj)
equals in class Objectobj - an object to be compared with this PointDouble
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||