ov.java 1.85 KB
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.UnmodifiableIterator;
import java.io.Serializable;
import java.util.Map.Entry;
import javax.annotation.Nullable;

@GwtCompatible(emulated=true)
public final class ov<K, V>
  extends ImmutableSet<K>
{
  private final ImmutableMap<K, V> a;
  
  public ov(ImmutableMap<K, V> paramImmutableMap)
  {
    this.a = paramImmutableMap;
  }
  
  final boolean a()
  {
    return true;
  }
  
  final ImmutableList<K> c()
  {
    new op()
    {
      final ImmutableCollection<K> b()
      {
        return ov.this;
      }
      
      public final K get(int paramAnonymousInt)
      {
        return (K)((Map.Entry)this.a.get(paramAnonymousInt)).getKey();
      }
    };
  }
  
  public final boolean contains(@Nullable Object paramObject)
  {
    return this.a.containsKey(paramObject);
  }
  
  public final UnmodifiableIterator<K> iterator()
  {
    return asList().iterator();
  }
  
  public final int size()
  {
    return this.a.size();
  }
  
  @GwtIncompatible("serialization")
  final Object writeReplace()
  {
    return new ov.a(this.a);
  }
  
  @GwtIncompatible("serialization")
  static final class a<K>
    implements Serializable
  {
    private static final long serialVersionUID = 0L;
    final ImmutableMap<K, ?> a;
    
    a(ImmutableMap<K, ?> paramImmutableMap)
    {
      this.a = paramImmutableMap;
    }
    
    final Object readResolve()
    {
      return this.a.keySet();
    }
  }
}


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