| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long | |
| public byte | x
The first value. |
| public byte | y
The second value. |
| public byte | z
The third value. |
| Access | Constructor and Description |
|---|---|
| public | Tuple3b(byte
the first value b1, byte the second value b2, byte the third value b3)Constructs and initializes a Tuple3b from the specified three values. |
| public | Tuple3b(byte[]
the array of length 3 containing b1 b2 b3 in order t)Constructs and initializes a Tuple3b from input array of length 3. |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a clone of this instance.Overrides java. |
| public boolean | |
| public boolean | equals(Object
the object with which the comparison is made t1)Overrides java. |
| public final void | get(byte[]
array of length 3 into which the component values are copied t)Places the value of the x,y,z components of this Tuple3b into the array of length 3. |
| public final void | |
| public final byte | |
| public final byte | |
| public final byte | |
| public int | Returns: the integer hash code valueOverrides java. |
| public final void | |
| public final void | set(byte[]
array of length 3 which is the source for the memberwise copy t)Sets the value of the x,y,z, data members of this tuple to the values in the array t of length 3. |
| public final void | |
| public final void | |
| public final void | |
| public String | Returns: a String with the valuesOverrides java. |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| x | back to summary |
|---|---|
| public byte x The first value. | |
| y | back to summary |
|---|---|
| public byte y The second value. | |
| z | back to summary |
|---|---|
| public byte z The third value. | |
| Tuple3b | back to summary |
|---|---|
| public Tuple3b(byte b1, byte b2, byte b3) Constructs and initializes a Tuple3b from the specified three values.
| |
| Tuple3b | back to summary |
|---|---|
| public Tuple3b(byte[] t) Constructs and initializes a Tuple3b from input array of length 3.
| |
| Tuple3b | back to summary |
|---|---|
| public Tuple3b(Tuple3b t1) Constructs and initializes a Tuple3b from the specified Tuple3b.
| |
| Tuple3b | back to summary |
|---|---|
| public Tuple3b() Constructs and initializes a Tuple3b to (0,0,0). | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Creates a new object of the same class as this object.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Tuple3b t1) Returns true if all of the data members of tuple t1 are equal to the corresponding data members in this tuple.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object t1) Overrides java. Returns true if the Object t1 is of type Tuple3b and all of the data members of t1 are equal to the corresponding data members in this Tuple3b.
| |
| get | back to summary |
|---|---|
| public final void get(byte[] t) Places the value of the x,y,z components of this Tuple3b into the array of length 3.
| |
| get | back to summary |
|---|---|
| public final void get(Tuple3b t1) Places the value of the x,y,z components of this tuple into the tuple t1.
| |
| getX | back to summary |
|---|---|
| public final byte getX() Get x, the first value.
| |
| getY | back to summary |
|---|---|
| public final byte getY() Get y, the second value.
| |
| getZ | back to summary |
|---|---|
| public final byte getZ() Get z, the third value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value based on the data values in this object. Two different Tuple3b objects with identical data values (i.e., Tuple3b.equals returns true) will return the same hash code value. Two objects with different data members may return the same hash value, although this is not likely.
| |
| set | back to summary |
|---|---|
| public final void set(Tuple3b t1) Sets the value of the data members of this tuple to the value of the argument tuple t1.
| |
| set | back to summary |
|---|---|
| public final void set(byte[] t) Sets the value of the x,y,z, data members of this tuple to the values in the array t of length 3.
| |
| setX | back to summary |
|---|---|
| public final void setX(byte x) Set x, the first value.
| |
| setY | back to summary |
|---|---|
| public final void setY(byte y) Set y, the second value.
| |
| setZ | back to summary |
|---|---|
| public final void setZ(byte z) Set z, the third value.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string that contains the values of this Tuple3b.
| |