T2 - type of object.public class Tuple2io<T2> extends Object implements Comparable<Tuple2io<T2>>, Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
int |
v1
First value (integer).
|
T2 |
v2
Second value (object).
|
| Constructor and Description |
|---|
Tuple2io(int v1,
T2 v2)
Constructor from separate integer and object values.
|
Tuple2io(org.jooq.lambda.tuple.Tuple2<Integer,T2> tuple)
Constructor from a jOOL tuple
|
Tuple2io(Tuple2io<T2> tuple)
Constructor from an integer-object tuple.
|
| Modifier and Type | Method and Description |
|---|---|
org.jooq.lambda.tuple.Tuple2<Integer,T2> |
asTuple()
Converts the tuple into a jOOL tuple.
|
int |
compareTo(Tuple2io<T2> other) |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
v1()
Returns the first element (integer).
|
T2 |
v2()
Returns the second element (object).
|
public final int v1
public final T2 v2
public Tuple2io(org.jooq.lambda.tuple.Tuple2<Integer,T2> tuple)
tuple - tuple to be copiedpublic Tuple2io(Tuple2io<T2> tuple)
tuple - tuple to be copiedpublic Tuple2io(int v1,
T2 v2)
v1 - integer valuev2 - object valuepublic int v1()
public T2 v2()
public org.jooq.lambda.tuple.Tuple2<Integer,T2> asTuple()
public int compareTo(Tuple2io<T2> other)
compareTo in interface Comparable<Tuple2io<T2>>Copyright © 2016. All rights reserved.