zza.java
1.64 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
package com.google.android.gms.common.util;
import android.support.v4.util.ArrayMap;
import java.util.AbstractSet;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
public class zza<E>
extends AbstractSet<E>
{
private final ArrayMap<E, E> a;
public zza()
{
this.a = new ArrayMap();
}
public zza(int paramInt)
{
this.a = new ArrayMap(paramInt);
}
public zza(Collection<E> paramCollection)
{
this(paramCollection.size());
addAll(paramCollection);
}
public boolean add(E paramE)
{
if (this.a.containsKey(paramE)) {
return false;
}
this.a.put(paramE, paramE);
return true;
}
public boolean addAll(Collection<? extends E> paramCollection)
{
if ((paramCollection instanceof zza)) {
return zza((zza)paramCollection);
}
return super.addAll(paramCollection);
}
public void clear()
{
this.a.clear();
}
public boolean contains(Object paramObject)
{
return this.a.containsKey(paramObject);
}
public Iterator<E> iterator()
{
return this.a.keySet().iterator();
}
public boolean remove(Object paramObject)
{
if (!this.a.containsKey(paramObject)) {
return false;
}
this.a.remove(paramObject);
return true;
}
public int size()
{
return this.a.size();
}
public boolean zza(zza<? extends E> paramzza)
{
int i = size();
this.a.putAll(paramzza.a);
return size() > i;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/common/util/zza.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/