Triple

ย ย 
Type๐Ÿ”ต Class
Packageio.github.mrtesz.teszcore.util.tuple
GitHubTriple.java
ImplementsCopyable<Triple<L, M, Rยป

Description

Utility class Triple


Constructor

Triple(L left, M middle, R right);

Constructs a new Triple instance

| Parameter | Type | Annotations | Description | |:โ€”โ€”โ€”:|:โ€”โ€”โ€”โ€”โ€”โ€”-:|:โ€”โ€”โ€”โ€“:|โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”-| | left | Not specified (L) | | First value of the Triple | | middle | Not specified (M) | | Second value of the Triple | | right | Not specified (R) | | Third value of the Triple | โ€”

Methods

toString

String toString(String format);

Formats the Triple using String.format

ParameterTypeAnnotationsDescription
formatString@NotNullThe format String

Returns: String โ€” the values formatted with the provided format string


copy

implemented from Copyable

T: Triple<L, M, 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)

ValueTypeAnnotationsDescription
leftNot specified (L)ย First value of the Triple
middleNot specified (M)ย Second value of the Triple
rightNot specified (R)ย Third value of the Triple

Back to top

Copyright © 2026 Mr_Tesz. All rights reserved

This site uses Just the Docs, a documentation theme for Jekyll.