ForwardingSet.java
1.08 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
package com.google.common.collect;
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import java.util.Collection;
import java.util.Set;
import javax.annotation.Nullable;
@GwtCompatible
public abstract class ForwardingSet<E>
extends ForwardingCollection<E>
implements Set<E>
{
protected abstract Set<E> delegate();
public boolean equals(@Nullable Object paramObject)
{
return (paramObject == this) || (delegate().equals(paramObject));
}
public int hashCode()
{
return delegate().hashCode();
}
protected boolean standardEquals(@Nullable Object paramObject)
{
return Sets.a(this, paramObject);
}
protected int standardHashCode()
{
return Sets.a(this);
}
protected boolean standardRemoveAll(Collection<?> paramCollection)
{
return Sets.a(this, (Collection)Preconditions.checkNotNull(paramCollection));
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/common/collect/ForwardingSet.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/