pz.java
1.15 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
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.Ordering;
import java.util.Comparator;
import java.util.SortedSet;
@GwtCompatible
public final class pz
{
public static <E> Comparator<? super E> a(SortedSet<E> paramSortedSet)
{
Comparator localComparator = paramSortedSet.comparator();
paramSortedSet = localComparator;
if (localComparator == null) {
paramSortedSet = Ordering.natural();
}
return paramSortedSet;
}
public static boolean a(Comparator<?> paramComparator, Iterable<?> paramIterable)
{
Preconditions.checkNotNull(paramComparator);
Preconditions.checkNotNull(paramIterable);
if ((paramIterable instanceof SortedSet)) {}
for (paramIterable = a((SortedSet)paramIterable);; paramIterable = ((py)paramIterable).comparator())
{
return paramComparator.equals(paramIterable);
if (!(paramIterable instanceof py)) {
break;
}
}
return false;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pz.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/