W3cubDocs

/Groovy 3.0

[Java] Class Tuple3<T1, T2, T3>

  • groovy.lang.Tuple3
public final class Tuple3<T1, T2, T3>
extends Tuple

Represents a list of 3 typed Objects.

Since:
2.5.0

Constructor Summary

Constructors
Constructor and description
Tuple3 (T1 v1, T2 v2, T3 v3)
Tuple3 (Tuple3<T1, T2, T3> tuple)

Methods Summary

Methods
Type Params Return Type Name and description
public Tuple3<T1, T2, T3> clone()
public T1 getFirst()
public T2 getSecond()
public T3 getThird()
public T1 getV1()
public T2 getV2()
public T3 getV3()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Tuple clone, compareTo, equals, get, hashCode, size, subList, subTuple, toArray, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple

Constructor Detail

public Tuple3(T1 v1, T2 v2, T3 v3)

public Tuple3(Tuple3<T1, T2, T3> tuple)

Method Detail

@Override public Tuple3<T1, T2, T3> clone()

@Deprecated public T1 getFirst()

@Deprecated public T2 getSecond()

@Deprecated public T3 getThird()

public T1 getV1()

public T2 getV2()

public T3 getV3()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/lang/Tuple3.html