ou.java 1.63 KB
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import java.io.Serializable;
import java.util.Map.Entry;
import javax.annotation.Nullable;

@GwtCompatible(emulated=true)
public abstract class ou<K, V>
  extends ImmutableSet<Map.Entry<K, V>>
{
  final boolean a()
  {
    return b().b();
  }
  
  protected abstract ImmutableMap<K, V> b();
  
  public boolean contains(@Nullable Object paramObject)
  {
    boolean bool2 = false;
    boolean bool1 = bool2;
    if ((paramObject instanceof Map.Entry))
    {
      paramObject = (Map.Entry)paramObject;
      Object localObject = b().get(((Map.Entry)paramObject).getKey());
      bool1 = bool2;
      if (localObject != null)
      {
        bool1 = bool2;
        if (localObject.equals(((Map.Entry)paramObject).getValue())) {
          bool1 = true;
        }
      }
    }
    return bool1;
  }
  
  public int size()
  {
    return b().size();
  }
  
  @GwtIncompatible("serialization")
  Object writeReplace()
  {
    return new ou.a(b());
  }
  
  @GwtIncompatible("serialization")
  static final class a<K, V>
    implements Serializable
  {
    private static final long serialVersionUID = 0L;
    final ImmutableMap<K, V> a;
    
    a(ImmutableMap<K, V> paramImmutableMap)
    {
      this.a = paramImmutableMap;
    }
    
    final Object readResolve()
    {
      return this.a.entrySet();
    }
  }
}


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