pw.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
91
92
93
94
95
96
97
98
99
100
101
102
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterators;
import com.google.common.collect.UnmodifiableIterator;
import java.util.Iterator;
import java.util.Set;
import javax.annotation.Nullable;
@GwtCompatible(emulated=true, serializable=true)
public final class pw<E>
extends ImmutableSet<E>
{
final transient E a;
private transient int b;
public pw(E paramE)
{
this.a = Preconditions.checkNotNull(paramE);
}
public pw(E paramE, int paramInt)
{
this.a = paramE;
this.b = paramInt;
}
final int a(Object[] paramArrayOfObject, int paramInt)
{
paramArrayOfObject[paramInt] = this.a;
return paramInt + 1;
}
final boolean a()
{
return false;
}
final boolean c_()
{
return this.b != 0;
}
public final boolean contains(Object paramObject)
{
return this.a.equals(paramObject);
}
public final boolean equals(@Nullable Object paramObject)
{
if (paramObject == this) {}
do
{
return true;
if (!(paramObject instanceof Set)) {
break;
}
paramObject = (Set)paramObject;
} while ((((Set)paramObject).size() == 1) && (this.a.equals(((Set)paramObject).iterator().next())));
return false;
return false;
}
public final int hashCode()
{
int j = this.b;
int i = j;
if (j == 0)
{
i = this.a.hashCode();
this.b = i;
}
return i;
}
public final boolean isEmpty()
{
return false;
}
public final UnmodifiableIterator<E> iterator()
{
return Iterators.singletonIterator(this.a);
}
public final int size()
{
return 1;
}
public final String toString()
{
String str = this.a.toString();
return str.length() + 2 + '[' + str + ']';
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pw.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/