Quadruple
| ย | ย |
|---|---|
| Type | ๐ต Class |
| Package | io.github.mrtesz.teszcore.util.tuple |
| GitHub | Quadruple.java |
| Implements | Copyable<Quadruple<L, ML, MR, Rยป |
Description
Utility class Quadruple
Constructor
Quadruple(L left, ML midLeft, MR midRight, R right);
Constructs a new Quadruple instance
| Parameter | Type | Annotations | Description | |:โโโ-:|:โโโโโโโ:|:โโโโ:|โโโโโโโโโโ-| | left | Not specified (L) | | First value of the Quadruple | | midLeft | Not specified (ML) | | Second value of the Quadruple | | midRight | Not specified (MR) | | Third value of the Quadruple | | right | Not specified (R) | | Fourth value of the Quadruple | โ
Methods
toString
String toString(String format);
Formats the Quadruple using String.format
| Parameter | Type | Annotations | Description |
|---|---|---|---|
format | String | @NotNull | The format String |
Returns: String โ the values formatted with the provided format string
copy
implemented from Copyable
T: Quadruple<L, ML, MR, R>
Values
All of this values can be set with set$VALUE_NAME$($VALUE_TYPE$) and get with get$VALUE_NAME$($VALUE_TYPE$) (with capitalized value names)
| Value | Type | Annotations | Description |
|---|---|---|---|
left | Not specified (L) | ย | First value of the Quadruple |
midLeft | Not specified (ML) | ย | Second value of the Quadruple |
midRight | Not specified (MR) | ย | Third value of the Quadruple |
right | Not specified (R) | ย | Fourth value of the Quadruple |