package com.google.common.collect; /* loaded from: classes.dex */ final class RegularImmutableSet extends ImmutableSet { static final RegularImmutableSet f = new RegularImmutableSet<>(new Object[0], 0, null, 0, 0); final transient Object[] a; final transient Object[] b; private final transient int c; private final transient int d; private final transient int e; RegularImmutableSet(Object[] objArr, int i, Object[] objArr2, int i2, int i3) { this.a = objArr; this.b = objArr2; this.c = i2; this.d = i; this.e = i3; } @Override // com.google.common.collect.ImmutableCollection, java.util.AbstractCollection, java.util.Collection, java.util.Set public boolean contains(Object obj) { Object[] objArr = this.b; if (obj == null || objArr == null) { return false; } int a = Hashing.a(obj); while (true) { int i = a & this.c; Object obj2 = objArr[i]; if (obj2 == null) { return false; } if (obj2.equals(obj)) { return true; } a = i + 1; } } @Override // com.google.common.collect.ImmutableCollection int copyIntoArray(Object[] objArr, int i) { System.arraycopy(this.a, 0, objArr, i, this.e); return i + this.e; } @Override // com.google.common.collect.ImmutableSet ImmutableList createAsList() { return ImmutableList.asImmutableList(this.a, this.e); } @Override // com.google.common.collect.ImmutableSet, java.util.Collection, java.util.Set public int hashCode() { return this.d; } @Override // com.google.common.collect.ImmutableSet boolean isHashCodeFast() { return true; } @Override // com.google.common.collect.ImmutableCollection boolean isPartialView() { return false; } @Override // java.util.AbstractCollection, java.util.Collection, java.util.Set public int size() { return this.e; } @Override // com.google.common.collect.ImmutableSet, com.google.common.collect.ImmutableCollection, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable, java.util.Set, java.util.NavigableSet public UnmodifiableIterator iterator() { return Iterators.a(this.a, 0, this.e, 0); } }