ow.java
1.99 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterators;
import com.google.common.collect.Maps;
import com.google.common.collect.UnmodifiableIterator;
import java.io.Serializable;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@GwtCompatible(emulated=true)
public final class ow<K, V>
extends ImmutableCollection<V>
{
private final ImmutableMap<K, V> a;
public ow(ImmutableMap<K, V> paramImmutableMap)
{
this.a = paramImmutableMap;
}
final boolean a()
{
return true;
}
final ImmutableList<V> c()
{
new op()
{
final ImmutableCollection<V> b()
{
return ow.this;
}
public final V get(int paramAnonymousInt)
{
return (V)((Map.Entry)this.a.get(paramAnonymousInt)).getValue();
}
};
}
public final boolean contains(@Nullable Object paramObject)
{
return (paramObject != null) && (Iterators.contains(iterator(), paramObject));
}
public final UnmodifiableIterator<V> iterator()
{
return Maps.a(this.a.entrySet().iterator());
}
public final int size()
{
return this.a.size();
}
@GwtIncompatible("serialization")
final Object writeReplace()
{
return new ow.a(this.a);
}
@GwtIncompatible("serialization")
static final class a<V>
implements Serializable
{
private static final long serialVersionUID = 0L;
final ImmutableMap<?, V> a;
a(ImmutableMap<?, V> paramImmutableMap)
{
this.a = paramImmutableMap;
}
final Object readResolve()
{
return this.a.values();
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ow.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/