nt.java 2.2 KB
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.ImmutableSortedSet;
import com.google.common.collect.Ordering;
import com.google.common.collect.UnmodifiableIterator;
import javax.annotation.Nullable;

public final class nt<E>
  extends ImmutableSortedSet<E>
{
  private final ImmutableSortedSet<E> a;
  
  public nt(ImmutableSortedSet<E> paramImmutableSortedSet)
  {
    super(Ordering.from(paramImmutableSortedSet.comparator()).reverse());
    this.a = paramImmutableSortedSet;
  }
  
  final int a(@Nullable Object paramObject)
  {
    int i = this.a.a(paramObject);
    if (i == -1) {
      return i;
    }
    return size() - 1 - i;
  }
  
  final ImmutableSortedSet<E> a(E paramE, boolean paramBoolean)
  {
    return this.a.headSet(paramE, paramBoolean).descendingSet();
  }
  
  final ImmutableSortedSet<E> a(E paramE1, boolean paramBoolean1, E paramE2, boolean paramBoolean2)
  {
    return this.a.subSet(paramE2, paramBoolean2, paramE1, paramBoolean1).descendingSet();
  }
  
  final boolean a()
  {
    return this.a.a();
  }
  
  @GwtIncompatible("NavigableSet")
  final ImmutableSortedSet<E> b()
  {
    throw new AssertionError("should never be called");
  }
  
  final ImmutableSortedSet<E> b(E paramE, boolean paramBoolean)
  {
    return this.a.tailSet(paramE, paramBoolean).descendingSet();
  }
  
  public final E ceiling(E paramE)
  {
    return (E)this.a.floor(paramE);
  }
  
  @GwtIncompatible("NavigableSet")
  public final UnmodifiableIterator<E> descendingIterator()
  {
    return this.a.iterator();
  }
  
  @GwtIncompatible("NavigableSet")
  public final ImmutableSortedSet<E> descendingSet()
  {
    return this.a;
  }
  
  public final E floor(E paramE)
  {
    return (E)this.a.ceiling(paramE);
  }
  
  public final E higher(E paramE)
  {
    return (E)this.a.lower(paramE);
  }
  
  public final UnmodifiableIterator<E> iterator()
  {
    return this.a.descendingIterator();
  }
  
  public final E lower(E paramE)
  {
    return (E)this.a.higher(paramE);
  }
  
  public final int size()
  {
    return this.a.size();
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/nt.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */