ow.java 1.99 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.Iterators;
import com.google.common.collect.Maps;
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 ow<K, V>
  extends ImmutableCollection<V>
{
  private final ImmutableMap<K, V> a;
  
  public ow(ImmutableMap<K, V> paramImmutableMap)
  {
    this.a = paramImmutableMap;
  }
  
  final boolean a()
  {
    return true;
  }
  
  final ImmutableList<V> c()
  {
    new op()
    {
      final ImmutableCollection<V> b()
      {
        return ow.this;
      }
      
      public final V get(int paramAnonymousInt)
      {
        return (V)((Map.Entry)this.a.get(paramAnonymousInt)).getValue();
      }
    };
  }
  
  public final boolean contains(@Nullable Object paramObject)
  {
    return (paramObject != null) && (Iterators.contains(iterator(), paramObject));
  }
  
  public final UnmodifiableIterator<V> iterator()
  {
    return Maps.a(this.a.entrySet().iterator());
  }
  
  public final int size()
  {
    return this.a.size();
  }
  
  @GwtIncompatible("serialization")
  final Object writeReplace()
  {
    return new ow.a(this.a);
  }
  
  @GwtIncompatible("serialization")
  static final class a<V>
    implements Serializable
  {
    private static final long serialVersionUID = 0L;
    final ImmutableMap<?, V> a;
    
    a(ImmutableMap<?, V> paramImmutableMap)
    {
      this.a = paramImmutableMap;
    }
    
    final Object readResolve()
    {
      return this.a.values();
    }
  }
}


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