mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 17:42:33 -06:00
41 lines
1.7 KiB
Java
41 lines
1.7 KiB
Java
package com.google.common.collect;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@ElementTypesAreNonnullByDefault
|
|
/* loaded from: classes3.dex */
|
|
public abstract class IndexedImmutableSet<E> extends ImmutableSet<E> {
|
|
abstract E get(int i);
|
|
|
|
@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, com.google.common.collect.SortedIterable
|
|
public UnmodifiableIterator<E> iterator() {
|
|
return asList().iterator();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // com.google.common.collect.ImmutableCollection
|
|
public int copyIntoArray(Object[] objArr, int i) {
|
|
return asList().copyIntoArray(objArr, i);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // com.google.common.collect.ImmutableSet
|
|
public ImmutableList<E> createAsList() {
|
|
return new ImmutableList<E>() { // from class: com.google.common.collect.IndexedImmutableSet.1
|
|
@Override // java.util.List
|
|
public E get(int i) {
|
|
return (E) IndexedImmutableSet.this.get(i);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // com.google.common.collect.ImmutableCollection
|
|
public boolean isPartialView() {
|
|
return IndexedImmutableSet.this.isPartialView();
|
|
}
|
|
|
|
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
|
public int size() {
|
|
return IndexedImmutableSet.this.size();
|
|
}
|
|
};
|
|
}
|
|
}
|