javax.vecmath
public abstract class Tuple3b extends Object implements Serializable
Field Summary | |
---|---|
byte | x
The first value. |
byte | y
The second value. |
byte | z
The third value. |
Constructor Summary | |
---|---|
Tuple3b(byte b1, byte b2, byte b3)
Constructs and initializes a Tuple3b from the specified three values. | |
Tuple3b(byte[] t)
Constructs and initializes a Tuple3b from input array of length 3. | |
Tuple3b(Tuple3b t1)
Constructs and initializes a Tuple3b from the specified Tuple3b. | |
Tuple3b()
Constructs and initializes a Tuple3b to (0,0,0). |
Method Summary | |
---|---|
boolean | equals(Tuple3b t1)
Returns true if all of the data members of Tuple3b t1 are equal to the corresponding
data members in this |
boolean | equals(Object o1)
Returns true if the Object o1 is of type Tuple3b and all of the data
members of t1 are equal to the corresponding data members in this
Tuple3b. |
void | get(byte[] t)
Places the value of the x,y,z components of this Tuple3b into the array of length 3. |
void | get(Tuple3b t)
Places the value of the x,y,z components of this tuple into the tuple t1. |
int | hashCode()
Returns a hash number based on the data values in this object.
|
void | set(Tuple3b t1)
Sets the value of the data members of this tuple to the value of the argument tuple t1. |
void | set(byte[] t)
Sets the value of the data members of this tuple to the value of the argument tuple t1. |
String | toString()
Returns a string that contains the values of this Tuple3b. |
Parameters: b1 the first value b2 the second value b3 the third value
Parameters: t the array of length 3 containing b1 b2 b3 in order
Parameters: t1 the Tuple3b containing the initialization x y z data
Parameters: t1 the vector with which the comparison is made.
Parameters: o1 the object with which the comparison is made.
Parameters: t array of length 3 into which the component values are copied
Parameters: t the tuple into which the values are placed
Parameters: t1 the source tuple for the memberwise copy
Parameters: t array of length 3 which is the source for the memberwise copy
Returns: the String representation