Tuple .java

net.minecraft.util.Tuple (class, 30 lines): members: getSecond, getFirst.

net.minecraft.utilclass30 linescommon416 B

API Surface (2)

A getFirst()
B getSecond()

Fields & Constants (2)

a
b

Full Source

Tuple.java30 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.util;
2
3
public class Tuple<A, B>
4
{
5
    private A a;
6
    private B b;
7
8
    public Tuple(A aIn, B bIn)
9
    {
10
        this.a = aIn;
11
        this.b = bIn;
12
    }
13
14
    /**
15
     * Get the first Object in the Tuple
16
     */
17
    public A getFirst()
18
    {
19
        return this.a;
20
    }
21
22
    /**
23
     * Get the second Object in the Tuple
24
     */
25
    public B getSecond()
26
    {
27
        return this.b;
28
    }
29
}
30

Deobfuscated MCP 1.8.9 source of Tuple from Marcelektro/MavenMCP-1.8.9 (net/minecraft/util/Tuple.java), stored verbatim.