pj.java
2.27 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
103
104
105
106
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterators;
import com.google.common.collect.UnmodifiableListIterator;
import javax.annotation.Nullable;
@GwtCompatible(emulated=true, serializable=true)
public final class pj<E>
extends ImmutableList<E>
{
private final transient int a;
private final transient int b;
private final transient Object[] c;
public pj(Object[] paramArrayOfObject)
{
this(paramArrayOfObject, 0, paramArrayOfObject.length);
}
private pj(Object[] paramArrayOfObject, int paramInt1, int paramInt2)
{
this.a = paramInt1;
this.b = paramInt2;
this.c = paramArrayOfObject;
}
final int a(Object[] paramArrayOfObject, int paramInt)
{
System.arraycopy(this.c, this.a, paramArrayOfObject, paramInt, this.b);
return this.b + paramInt;
}
final ImmutableList<E> a(int paramInt1, int paramInt2)
{
return new pj(this.c, this.a + paramInt1, paramInt2 - paramInt1);
}
final boolean a()
{
return this.b != this.c.length;
}
public final E get(int paramInt)
{
Preconditions.checkElementIndex(paramInt, this.b);
return (E)this.c[(this.a + paramInt)];
}
public final int indexOf(@Nullable Object paramObject)
{
int j;
if (paramObject == null)
{
j = -1;
return j;
}
int i = 0;
for (;;)
{
if (i >= this.b) {
break label45;
}
j = i;
if (this.c[(this.a + i)].equals(paramObject)) {
break;
}
i += 1;
}
label45:
return -1;
}
public final int lastIndexOf(@Nullable Object paramObject)
{
if (paramObject == null) {}
for (;;)
{
return -1;
int i = this.b - 1;
while (i >= 0)
{
if (this.c[(this.a + i)].equals(paramObject)) {
return i;
}
i -= 1;
}
}
}
public final UnmodifiableListIterator<E> listIterator(int paramInt)
{
return Iterators.a(this.c, this.a, this.b, paramInt);
}
public final int size()
{
return this.b;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pj.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/