53 lines
1.2 KiB
Java
53 lines
1.2 KiB
Java
package o;
|
|
|
|
import java.util.Iterator;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class fRE<T> implements Iterable<T> {
|
|
private final Iterable<T> c;
|
|
|
|
private fRE(Iterable<T> iterable) {
|
|
this.c = iterable;
|
|
}
|
|
|
|
@Override // java.lang.Iterable
|
|
public final Iterator<T> iterator() {
|
|
return this.c.iterator();
|
|
}
|
|
|
|
public static <T> fRE<T> e(Iterable<T> iterable) {
|
|
return new fRE<>(iterable);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || getClass() != obj.getClass()) {
|
|
return false;
|
|
}
|
|
Iterable<T> iterable = this.c;
|
|
Iterable<T> iterable2 = ((fRE) obj).c;
|
|
if (iterable != null) {
|
|
if (iterable.equals(iterable2)) {
|
|
return true;
|
|
}
|
|
} else if (iterable2 == null) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
Iterable<T> iterable = this.c;
|
|
if (iterable != null) {
|
|
return iterable.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public final String toString() {
|
|
return this.c.toString();
|
|
}
|
|
}
|