package t8; import java.io.Serializable; import java.util.Collection; import java.util.Iterator; import java.util.Set; /* loaded from: classes2.dex */ public final class y implements Set, Serializable { /* renamed from: a, reason: collision with root package name */ public static final y f14457a = new y(); private y() { } public boolean a(Void r22) { d9.j.e(r22, "element"); return false; } @Override // java.util.Set, java.util.Collection public /* bridge */ /* synthetic */ boolean add(Object obj) { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } @Override // java.util.Set, java.util.Collection public boolean addAll(Collection collection) { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } public int b() { return 0; } @Override // java.util.Set, java.util.Collection public void clear() { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } @Override // java.util.Set, java.util.Collection public final /* bridge */ boolean contains(Object obj) { if (obj instanceof Void) { return a((Void) obj); } return false; } @Override // java.util.Set, java.util.Collection public boolean containsAll(Collection collection) { d9.j.e(collection, "elements"); return collection.isEmpty(); } @Override // java.util.Set, java.util.Collection public boolean equals(Object obj) { return (obj instanceof Set) && ((Set) obj).isEmpty(); } @Override // java.util.Set, java.util.Collection public int hashCode() { return 0; } @Override // java.util.Set, java.util.Collection public boolean isEmpty() { return true; } @Override // java.util.Set, java.util.Collection, java.lang.Iterable public Iterator iterator() { return v.f14454a; } @Override // java.util.Set, java.util.Collection public boolean remove(Object obj) { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } @Override // java.util.Set, java.util.Collection public boolean removeAll(Collection collection) { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } @Override // java.util.Set, java.util.Collection public boolean retainAll(Collection collection) { throw new UnsupportedOperationException("Operation is not supported for read-only collection"); } @Override // java.util.Set, java.util.Collection public final /* bridge */ int size() { return b(); } @Override // java.util.Set, java.util.Collection public Object[] toArray() { return d9.f.a(this); } public String toString() { return "[]"; } @Override // java.util.Set, java.util.Collection public Object[] toArray(Object[] objArr) { d9.j.e(objArr, "array"); return d9.f.b(this, objArr); } }