pz.java 1.15 KB
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
 */