29 lines
415 B
Java
29 lines
415 B
Java
package net.minecraft.util;
|
|
|
|
public class Tuple<A, B>
|
|
{
|
|
private A a;
|
|
private B b;
|
|
|
|
public Tuple(A aIn, B bIn)
|
|
{
|
|
this.a = aIn;
|
|
this.b = bIn;
|
|
}
|
|
|
|
/**
|
|
* Get the first Object in the Tuple
|
|
*/
|
|
public A getFirst()
|
|
{
|
|
return this.a;
|
|
}
|
|
|
|
/**
|
|
* Get the second Object in the Tuple
|
|
*/
|
|
public B getSecond()
|
|
{
|
|
return this.b;
|
|
}
|
|
} |