ImmutablePair.java
862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package org.apache.commons.lang3.tuple;
public final class ImmutablePair<L, R>
extends Pair<L, R>
{
private static final long serialVersionUID = 4954918890077093841L;
public final L left;
public final R right;
public ImmutablePair(L paramL, R paramR)
{
this.left = paramL;
this.right = paramR;
}
public static <L, R> ImmutablePair<L, R> of(L paramL, R paramR)
{
return new ImmutablePair(paramL, paramR);
}
public final L getLeft()
{
return (L)this.left;
}
public final R getRight()
{
return (R)this.right;
}
public final R setValue(R paramR)
{
throw new UnsupportedOperationException();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/org/apache/commons/lang3/tuple/ImmutablePair.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/