px.java
1.66 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableTable;
import com.google.common.collect.Table.Cell;
import java.util.Map;
@GwtCompatible
public final class px<R, C, V>
extends ImmutableTable<R, C, V>
{
final R a;
final C b;
final V c;
public px(Table.Cell<R, C, V> paramCell)
{
this(paramCell.getRowKey(), paramCell.getColumnKey(), paramCell.getValue());
}
public px(R paramR, C paramC, V paramV)
{
this.a = Preconditions.checkNotNull(paramR);
this.b = Preconditions.checkNotNull(paramC);
this.c = Preconditions.checkNotNull(paramV);
}
public final ImmutableMap<R, V> column(C paramC)
{
Preconditions.checkNotNull(paramC);
if (containsColumn(paramC)) {
return ImmutableMap.of(this.a, this.c);
}
return ImmutableMap.of();
}
public final ImmutableMap<C, Map<R, V>> columnMap()
{
return ImmutableMap.of(this.b, ImmutableMap.of(this.a, this.c));
}
final ImmutableSet<Table.Cell<R, C, V>> e()
{
return ImmutableSet.of(a(this.a, this.b, this.c));
}
final ImmutableCollection<V> f()
{
return ImmutableSet.of(this.c);
}
public final ImmutableMap<R, Map<C, V>> rowMap()
{
return ImmutableMap.of(this.a, ImmutableMap.of(this.b, this.c));
}
public final int size()
{
return 1;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/px.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/