ps.java
2.34 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
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.Ordering;
import java.io.Serializable;
import java.util.Iterator;
import javax.annotation.Nullable;
@GwtCompatible(serializable=true)
public final class ps<T>
extends Ordering<T>
implements Serializable
{
private static final long serialVersionUID = 0L;
final Ordering<? super T> a;
public ps(Ordering<? super T> paramOrdering)
{
this.a = ((Ordering)Preconditions.checkNotNull(paramOrdering));
}
public final int compare(T paramT1, T paramT2)
{
return this.a.compare(paramT2, paramT1);
}
public final boolean equals(@Nullable Object paramObject)
{
if (paramObject == this) {
return true;
}
if ((paramObject instanceof ps))
{
paramObject = (ps)paramObject;
return this.a.equals(((ps)paramObject).a);
}
return false;
}
public final int hashCode()
{
return -this.a.hashCode();
}
public final <E extends T> E max(Iterable<E> paramIterable)
{
return (E)this.a.min(paramIterable);
}
public final <E extends T> E max(E paramE1, E paramE2)
{
return (E)this.a.min(paramE1, paramE2);
}
public final <E extends T> E max(E paramE1, E paramE2, E paramE3, E... paramVarArgs)
{
return (E)this.a.min(paramE1, paramE2, paramE3, paramVarArgs);
}
public final <E extends T> E max(Iterator<E> paramIterator)
{
return (E)this.a.min(paramIterator);
}
public final <E extends T> E min(Iterable<E> paramIterable)
{
return (E)this.a.max(paramIterable);
}
public final <E extends T> E min(E paramE1, E paramE2)
{
return (E)this.a.max(paramE1, paramE2);
}
public final <E extends T> E min(E paramE1, E paramE2, E paramE3, E... paramVarArgs)
{
return (E)this.a.max(paramE1, paramE2, paramE3, paramVarArgs);
}
public final <E extends T> E min(Iterator<E> paramIterator)
{
return (E)this.a.max(paramIterator);
}
public final <S extends T> Ordering<S> reverse()
{
return this.a;
}
public final String toString()
{
String str = String.valueOf(String.valueOf(this.a));
return str.length() + 10 + str + ".reverse()";
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/ps.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/