KtTriple<A, B, C> class

Represents a triad of values

There is no meaning attached to values in this class, it can be used for any purpose. Triple exhibits value semantics, i.e. two triples are equal if all three components are equal.

@param A type of the first value. @param B type of the second value. @param C type of the third value. @property first First value. @property second Second value. @property third Third value.

Available extensions

Constructors

KtTriple(A first, B second, C third)
const

Properties

first → A
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → B
final
third → C
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() KtList<T>

Available on KtTriple<T, T, T>, provided by the TripleDeconstruction extension

Returns string representation of the KtTriple including its first, second and third values.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override