W3cubDocs

/Groovy 3.0

[Java] Class Tuple4<T1, T2, T3, T4>

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

Represents a list of 4 typed Objects.

Since:
2.5.0

Constructor Summary

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

Methods Summary

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

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 Tuple4(T1 v1, T2 v2, T3 v3, T4 v4)

public Tuple4(Tuple4<T1, T2, T3, T4> tuple)

Method Detail

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

@Deprecated public T1 getFirst()

@Deprecated public T4 getFourth()

@Deprecated public T2 getSecond()

@Deprecated public T3 getThird()

public T1 getV1()

public T2 getV2()

public T3 getV3()

public T4 getV4()

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