qf$m.java 5.26 KB
import com.google.common.annotations.GwtIncompatible;
import com.google.common.annotations.VisibleForTesting;
import java.util.Map.Entry;
import java.util.NavigableMap;
import java.util.NavigableSet;
import java.util.Set;
import java.util.SortedMap;
import javax.annotation.Nullable;

@GwtIncompatible("NavigableMap")
@VisibleForTesting
final class qf$m<K, V>
  extends qf.t<K, V>
  implements NavigableMap<K, V>
{
  private static final long serialVersionUID = 0L;
  transient NavigableSet<K> a;
  transient NavigableMap<K, V> b;
  transient NavigableSet<K> f;
  
  qf$m(NavigableMap<K, V> paramNavigableMap, @Nullable Object paramObject)
  {
    super(paramNavigableMap, paramObject);
  }
  
  public final Map.Entry<K, V> ceilingEntry(K paramK)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).ceilingEntry(paramK), this.h);
      return paramK;
    }
  }
  
  public final K ceilingKey(K paramK)
  {
    synchronized (this.h)
    {
      paramK = ((NavigableMap)super.c()).ceilingKey(paramK);
      return paramK;
    }
  }
  
  public final NavigableSet<K> descendingKeySet()
  {
    synchronized (this.h)
    {
      if (this.a == null)
      {
        localNavigableSet = qf.a(((NavigableMap)super.c()).descendingKeySet(), this.h);
        this.a = localNavigableSet;
        return localNavigableSet;
      }
      NavigableSet localNavigableSet = this.a;
      return localNavigableSet;
    }
  }
  
  public final NavigableMap<K, V> descendingMap()
  {
    synchronized (this.h)
    {
      if (this.b == null)
      {
        localNavigableMap = qf.a(((NavigableMap)super.c()).descendingMap(), this.h);
        this.b = localNavigableMap;
        return localNavigableMap;
      }
      NavigableMap localNavigableMap = this.b;
      return localNavigableMap;
    }
  }
  
  public final Map.Entry<K, V> firstEntry()
  {
    synchronized (this.h)
    {
      Map.Entry localEntry = qf.a(((NavigableMap)super.c()).firstEntry(), this.h);
      return localEntry;
    }
  }
  
  public final Map.Entry<K, V> floorEntry(K paramK)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).floorEntry(paramK), this.h);
      return paramK;
    }
  }
  
  public final K floorKey(K paramK)
  {
    synchronized (this.h)
    {
      paramK = ((NavigableMap)super.c()).floorKey(paramK);
      return paramK;
    }
  }
  
  public final NavigableMap<K, V> headMap(K paramK, boolean paramBoolean)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).headMap(paramK, paramBoolean), this.h);
      return paramK;
    }
  }
  
  public final SortedMap<K, V> headMap(K paramK)
  {
    return headMap(paramK, false);
  }
  
  public final Map.Entry<K, V> higherEntry(K paramK)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).higherEntry(paramK), this.h);
      return paramK;
    }
  }
  
  public final K higherKey(K paramK)
  {
    synchronized (this.h)
    {
      paramK = ((NavigableMap)super.c()).higherKey(paramK);
      return paramK;
    }
  }
  
  public final Set<K> keySet()
  {
    return navigableKeySet();
  }
  
  public final Map.Entry<K, V> lastEntry()
  {
    synchronized (this.h)
    {
      Map.Entry localEntry = qf.a(((NavigableMap)super.c()).lastEntry(), this.h);
      return localEntry;
    }
  }
  
  public final Map.Entry<K, V> lowerEntry(K paramK)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).lowerEntry(paramK), this.h);
      return paramK;
    }
  }
  
  public final K lowerKey(K paramK)
  {
    synchronized (this.h)
    {
      paramK = ((NavigableMap)super.c()).lowerKey(paramK);
      return paramK;
    }
  }
  
  public final NavigableSet<K> navigableKeySet()
  {
    synchronized (this.h)
    {
      if (this.f == null)
      {
        localNavigableSet = qf.a(((NavigableMap)super.c()).navigableKeySet(), this.h);
        this.f = localNavigableSet;
        return localNavigableSet;
      }
      NavigableSet localNavigableSet = this.f;
      return localNavigableSet;
    }
  }
  
  public final Map.Entry<K, V> pollFirstEntry()
  {
    synchronized (this.h)
    {
      Map.Entry localEntry = qf.a(((NavigableMap)super.c()).pollFirstEntry(), this.h);
      return localEntry;
    }
  }
  
  public final Map.Entry<K, V> pollLastEntry()
  {
    synchronized (this.h)
    {
      Map.Entry localEntry = qf.a(((NavigableMap)super.c()).pollLastEntry(), this.h);
      return localEntry;
    }
  }
  
  public final NavigableMap<K, V> subMap(K paramK1, boolean paramBoolean1, K paramK2, boolean paramBoolean2)
  {
    synchronized (this.h)
    {
      paramK1 = qf.a(((NavigableMap)super.c()).subMap(paramK1, paramBoolean1, paramK2, paramBoolean2), this.h);
      return paramK1;
    }
  }
  
  public final SortedMap<K, V> subMap(K paramK1, K paramK2)
  {
    return subMap(paramK1, true, paramK2, false);
  }
  
  public final NavigableMap<K, V> tailMap(K paramK, boolean paramBoolean)
  {
    synchronized (this.h)
    {
      paramK = qf.a(((NavigableMap)super.c()).tailMap(paramK, paramBoolean), this.h);
      return paramK;
    }
  }
  
  public final SortedMap<K, V> tailMap(K paramK)
  {
    return tailMap(paramK, true);
  }
}


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