[Java] Class Tuple3<T1, T2, T3>
- groovy.lang.Tuple3
Represents a list of 3 typed Objects.
- Since:
- 2.5.0
Constructor Summary
Constructor and description |
---|
Tuple3
(T1 first, T2 second, T3 third) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Object |
get(int index) | |
T1 |
getFirst() | |
T2 |
getSecond() | |
T3 |
getThird() | |
int |
size() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Tuple | equals, get, hashCode, size, subList, subTuple |
Constructor Detail
public Tuple3(T1 first, T2 second, T3 third)
Method Detail
@Override public Object get(int index)
public T1 getFirst()
public T2 getSecond()
public T3 getThird()
@Override public int size()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/lang/Tuple3.html