ox.java 1.5 KB
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSortedSet;
import java.util.Comparator;
import javax.annotation.Nullable;

@GwtCompatible(emulated=true)
final class ox<E>
  extends ph<E>
  implements py<E>
{
  ox(ImmutableSortedSet<E> paramImmutableSortedSet, ImmutableList<E> paramImmutableList)
  {
    super(paramImmutableSortedSet, paramImmutableList);
  }
  
  @GwtIncompatible("super.subListUnchecked does not exist; inherited subList is valid if slow")
  final ImmutableList<E> a(int paramInt1, int paramInt2)
  {
    return new pp(super.a(paramInt1, paramInt2), comparator()).asList();
  }
  
  public final Comparator<? super E> comparator()
  {
    return ((ImmutableSortedSet)super.b()).comparator();
  }
  
  public final boolean contains(Object paramObject)
  {
    return indexOf(paramObject) >= 0;
  }
  
  @GwtIncompatible("ImmutableSortedSet.indexOf")
  public final int indexOf(@Nullable Object paramObject)
  {
    int i = ((ImmutableSortedSet)super.b()).a(paramObject);
    if ((i >= 0) && (get(i).equals(paramObject))) {
      return i;
    }
    return -1;
  }
  
  @GwtIncompatible("ImmutableSortedSet.indexOf")
  public final int lastIndexOf(@Nullable Object paramObject)
  {
    return indexOf(paramObject);
  }
}


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