| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long | |
| public byte | w
The fourth value. |
| public byte | x
The first value. |
| public byte | y
The second value. |
| public byte | z
The third value. |
| Access | Constructor and Description |
|---|---|
| public | Tuple4b(byte
the first value b1, byte the second value b2, byte the third value b3, byte the fourth value b4)Constructs and initializes a Tuple4b from the specified four values. |
| public | Tuple4b(byte[]
the array of length 4 containing b1 b2 b3 b4 in order t)Constructs and initializes a Tuple4b from the array of length 4. |
| 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 4 into which the values are placed b)Places the value of the x,y,z,w components of this Tuple4b into the array of length 4. |
| public final void | |
| public final byte | |
| 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[]
the source array of length 4 b)Sets the value of the data members of this tuple to the value of the array b of length 4. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public String | Returns: the String representationOverrides java. |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| w | back to summary |
|---|---|
| public byte w The fourth value. | |
| 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. | |
| Tuple4b | back to summary |
|---|---|
| public Tuple4b(byte b1, byte b2, byte b3, byte b4) Constructs and initializes a Tuple4b from the specified four values.
| |
| Tuple4b | back to summary |
|---|---|
| public Tuple4b(byte[] t) Constructs and initializes a Tuple4b from the array of length 4.
| |
| Tuple4b | back to summary |
|---|---|
| public Tuple4b(Tuple4b t1) Constructs and initializes a Tuple4b from the specified Tuple4b.
| |
| Tuple4b | back to summary |
|---|---|
| public Tuple4b() Constructs and initializes a Tuple4b to (0,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(Tuple4b 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 Tuple4b and all of the data members of t1 are equal to the corresponding data members in this Tuple4b.
| |
| get | back to summary |
|---|---|
| public final void get(byte[] b) Places the value of the x,y,z,w components of this Tuple4b into the array of length 4.
| |
| get | back to summary |
|---|---|
| public final void get(Tuple4b t1) Places the value of the x,y,z,w components of this Tuple4b into the tuple t1.
| |
| getW | back to summary |
|---|---|
| public final byte getW() Get w, the fourth value.
| |
| 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 Tuple4b objects with identical data values (i.e., Tuple4b.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(Tuple4b 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[] b) Sets the value of the data members of this tuple to the value of the array b of length 4.
| |
| setW | back to summary |
|---|---|
| public final void setW(byte w) Set w, the fourth value.
| |
| 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 Tuple4b.
| |