org.tarantool.util.TupleTwo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connector Show documentation
Show all versions of connector Show documentation
Tarantool client for java
The newest version!
package org.tarantool.util;
/**
* Two places tuple.
*/
public class TupleTwo {
private final T first;
private final U second;
TupleTwo(T first, U second) {
this.first = first;
this.second = second;
}
public static TupleTwo of(T first, U second) {
return new TupleTwo<>(first, second);
}
public T getFirst() {
return first;
}
public U getSecond() {
return second;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy