pl.java
1.58 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
import com.google.common.annotations.GwtCompatible;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableMultiset;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@GwtCompatible(serializable=true)
public final class pl<E>
extends ImmutableMultiset<E>
{
private final transient ImmutableMap<E, Integer> a;
private final transient int b;
public pl(ImmutableMap<E, Integer> paramImmutableMap, int paramInt)
{
this.a = paramImmutableMap;
this.b = paramInt;
}
final Multiset.Entry<E> a(int paramInt)
{
Map.Entry localEntry = (Map.Entry)this.a.entrySet().asList().get(paramInt);
return Multisets.immutableEntry(localEntry.getKey(), ((Integer)localEntry.getValue()).intValue());
}
final boolean a()
{
return this.a.b();
}
public final boolean contains(@Nullable Object paramObject)
{
return this.a.containsKey(paramObject);
}
public final int count(@Nullable Object paramObject)
{
paramObject = (Integer)this.a.get(paramObject);
if (paramObject == null) {
return 0;
}
return ((Integer)paramObject).intValue();
}
public final int hashCode()
{
return this.a.hashCode();
}
public final int size()
{
return this.b;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pl.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/