- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for UnmodifiableListIterator (0.14 sec)
-
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertEquals("b", iterator.previous()); assertThrows(UnsupportedOperationException.class, () -> iterator.set("c")); } UnmodifiableListIterator<String> create() { final String[] array = {"a", "b", "c"}; return new UnmodifiableListIterator<String>() { int i; @Override public boolean hasNext() { return i < array.length; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
} ImmutableList<? extends E> delegateList() { return delegateList; } @SuppressWarnings("unchecked") // safe covariant cast! @Override public UnmodifiableListIterator<E> listIterator(int index) { return (UnmodifiableListIterator<E>) delegateList.listIterator(index); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableAsList.java
} ImmutableList<? extends E> delegateList() { return delegateList; } @SuppressWarnings("unchecked") // safe covariant cast! @Override public UnmodifiableListIterator<E> listIterator(int index) { return (UnmodifiableListIterator<E>) delegateList.listIterator(index); } @GwtIncompatible // not present in emulated superclass @Override public void forEach(Consumer<? super E> action) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
return listIterator(); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); } @SuppressWarnings("unchecked") @Override public UnmodifiableListIterator<E> listIterator(int index) { checkPositionIndex(index, size()); if (isEmpty()) { return (UnmodifiableListIterator<E>) EMPTY_ITR; } else { return new Itr<E>(this, index);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* </ul> * * <h2>Abstract implementations</h2> * * <ul> * <li>{@link AbstractIterator} * <li>{@link AbstractSequentialIterator} * <li>{@link UnmodifiableIterator} * <li>{@link UnmodifiableListIterator} * </ul> * * <h2>Forwarding collections</h2> * * We provide implementations of collections that forward all method calls to a delegate collection
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/package-info.java
* </ul> * * <h2>Abstract implementations</h2> * * <ul> * <li>{@link AbstractIterator} * <li>{@link AbstractSequentialIterator} * <li>{@link UnmodifiableIterator} * <li>{@link UnmodifiableListIterator} * </ul> * * <h2>Forwarding collections</h2> * * We provide implementations of collections that forward all method calls to a delegate collection
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 06 16:29:45 UTC 2023 - 5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex)); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); } @Override public UnmodifiableListIterator<E> listIterator(int index) { return new AbstractIndexedListIterator<E>(size(), index) { @Override protected E get(int index) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
*/ // Casting to any type is safe since there are no actual elements. @SuppressWarnings("unchecked") static <T extends @Nullable Object> UnmodifiableListIterator<T> emptyListIterator() { return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /** * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only * referenced by emptyModifiableIterator().
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
@Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); } @Override public UnmodifiableListIterator<E> listIterator(int index) { return new AbstractIndexedListIterator<E>(size(), index) { @Override protected E get(int index) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0)