qi.java 2.42 KB
import com.google.common.annotations.GwtCompatible;
import com.google.common.collect.BoundType;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets;
import com.google.common.collect.Multisets.g;
import com.google.common.collect.SortedMultiset;
import java.util.Comparator;
import java.util.NavigableSet;

@GwtCompatible(emulated=true)
public final class qi<E>
  extends Multisets.g<E>
  implements SortedMultiset<E>
{
  private static final long serialVersionUID = 0L;
  private transient qi<E> d;
  
  public qi(SortedMultiset<E> paramSortedMultiset)
  {
    super(paramSortedMultiset);
  }
  
  public final Comparator<? super E> comparator()
  {
    return ((SortedMultiset)super.delegate()).comparator();
  }
  
  public final SortedMultiset<E> descendingMultiset()
  {
    qi localqi2 = this.d;
    qi localqi1 = localqi2;
    if (localqi2 == null)
    {
      localqi1 = new qi(((SortedMultiset)super.delegate()).descendingMultiset());
      localqi1.d = this;
      this.d = localqi1;
    }
    return localqi1;
  }
  
  public final NavigableSet<E> elementSet()
  {
    return (NavigableSet)super.elementSet();
  }
  
  public final Multiset.Entry<E> firstEntry()
  {
    return ((SortedMultiset)super.delegate()).firstEntry();
  }
  
  public final SortedMultiset<E> headMultiset(E paramE, BoundType paramBoundType)
  {
    return Multisets.unmodifiableSortedMultiset(((SortedMultiset)super.delegate()).headMultiset(paramE, paramBoundType));
  }
  
  public final Multiset.Entry<E> lastEntry()
  {
    return ((SortedMultiset)super.delegate()).lastEntry();
  }
  
  public final Multiset.Entry<E> pollFirstEntry()
  {
    throw new UnsupportedOperationException();
  }
  
  public final Multiset.Entry<E> pollLastEntry()
  {
    throw new UnsupportedOperationException();
  }
  
  public final SortedMultiset<E> subMultiset(E paramE1, BoundType paramBoundType1, E paramE2, BoundType paramBoundType2)
  {
    return Multisets.unmodifiableSortedMultiset(((SortedMultiset)super.delegate()).subMultiset(paramE1, paramBoundType1, paramE2, paramBoundType2));
  }
  
  public final SortedMultiset<E> tailMultiset(E paramE, BoundType paramBoundType)
  {
    return Multisets.unmodifiableSortedMultiset(((SortedMultiset)super.delegate()).tailMultiset(paramE, paramBoundType));
  }
}


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