Skip to content

Instantly share code, notes, and snippets.

@Astr-o
Last active August 29, 2015 13:56
Show Gist options
  • Save Astr-o/8858797 to your computer and use it in GitHub Desktop.
Save Astr-o/8858797 to your computer and use it in GitHub Desktop.
public class Triplet<T, K, V> {
private T i;
private K j;
private V k;
public Triplet(T i, K j, V k) {
this.i = i;
this.j = j;
this.k = k;
}
public T getI() {
return i;
}
public K getJ() {
return j;
}
public V getK() {
return k;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment