- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for unmodifiableIterator (0.06 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator(); UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod); assertNotSame(mod, unmod); assertSame(unmod, Iterators.unmodifiableIterator(unmod)); assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 56.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
return (ImmutableSet<Cell<R, C, V>>) super.cellSet(); } @Override abstract ImmutableSet<Cell<R, C, V>> createCellSet(); @Override final UnmodifiableIterator<Cell<R, C, V>> cellIterator() { throw new AssertionError("should never be called"); } @Override public ImmutableCollection<V> values() { return (ImmutableCollection<V>) super.values(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
public int hashCode() { return Sets.hashCodeImpl(this); } // This declaration is needed to make Set.iterator() and // ImmutableCollection.iterator() consistent. @Override public abstract UnmodifiableIterator<E> iterator(); abstract static class CachingAsList<E> extends ImmutableSet<E> { @LazyInit @RetainedWith private transient @Nullable ImmutableList<E> asList; @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
throw new UnsupportedOperationException(); } @Override public final E remove(int index) { throw new UnsupportedOperationException(); } @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
return (ImmutableSet<Cell<R, C, V>>) super.cellSet(); } @Override abstract ImmutableSet<Cell<R, C, V>> createCellSet(); @Override final UnmodifiableIterator<Cell<R, C, V>> cellIterator() { throw new AssertionError("should never be called"); } @Override final Spliterator<Cell<R, C, V>> cellSpliterator() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} @Override public Comparator<? super E> comparator() { return sortedDelegate.comparator(); } @Override // needed to unify SortedIterable and Collection iterator() methods public UnmodifiableIterator<E> iterator() { return super.iterator(); } @Override public Object[] toArray() { /* * ObjectArrays.toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
ImmutableCollection() {} /** Returns an unmodifiable iterator across the elements in this collection. */ @Override public abstract UnmodifiableIterator<E> iterator(); @Override @IgnoreJRERequirement // used only from APIs with Java 8 types in them // (not used within guava-android as of this writing, but we include it in the jar as a test)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
} ImmutableList() {} // This declaration is needed to make List.iterator() and // ImmutableCollection.iterator() consistent. @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); } @SuppressWarnings("unchecked")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
private UnmodifiableIterable(Iterable<? extends T> iterable) { this.iterable = iterable; } @Override public Iterator<T> iterator() { return Iterators.unmodifiableIterator(iterable.iterator()); } @Override public String toString() { return iterable.toString(); } // no equals and hashCode; it would break the contract! }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0)