- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for checkElementIndex (0.08 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableList.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkElementIndex; import static java.lang.System.arraycopy; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
} @Override public ImmutableList<E> get(int index) { checkElementIndex(index, size()); return new ImmutableList<E>() { @Override public int size() { return axes.size(); } @Override public E get(int axis) { checkElementIndex(axis, size()); int axisIndex = getAxisIndexForProductIndex(index, axis);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
* the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkElementIndex; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.BoundType.CLOSED; import static java.util.Objects.requireNonNull;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableList.java
final transient E element; SingletonImmutableList(E element) { this.element = checkNotNull(element); } @Override public E get(int index) { Preconditions.checkElementIndex(index, 1); return element; } @Override public UnmodifiableIterator<E> iterator() { return singletonIterator(element); } @Override public Spliterator<E> spliterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.3K bytes - Viewed (0)