- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 65 for unmodifiableIterator (0.16 sec)
-
android/guava/src/com/google/common/collect/RegularContiguousSet.java
@SuppressWarnings("unchecked") // requireNonNull is safe because of the contains check. C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); } @Override public UnmodifiableIterator<C> iterator() { return new AbstractSequentialIterator<C>(first()) { final C last = last(); @Override @CheckForNull protected C computeNext(C previous) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableSet.java
} @Override public int size() { return 1; } @Override public boolean contains(@CheckForNull Object target) { return element.equals(target); } @Override public UnmodifiableIterator<E> iterator() { return singletonIterator(element); } @Override public ImmutableList<E> asList() { return ImmutableList.of(element); } @Override boolean isPartialView() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
} @Override int internalArrayEnd() { return elements.internalArrayEnd(); } @Override public UnmodifiableIterator<E> iterator() { return elements.iterator(); } @GwtIncompatible // NavigableSet @Override public UnmodifiableIterator<E> descendingIterator() { return elements.reverse().iterator(); } @Override public Spliterator<E> spliterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
ImmutableMapKeySet(ImmutableMap<K, V> map) { this.map = map; } @Override public int size() { return map.size(); } @Override public UnmodifiableIterator<K> iterator() { return map.keyIterator(); } @Override public Spliterator<K> spliterator() { return map.keySpliterator(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
int size) { this.map = map; this.alternatingKeysAndValues = alternatingKeysAndValues; this.keyOffset = keyOffset; this.size = size; } @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return asList().iterator(); } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
} @Override @GwtIncompatible("not used in GWT") int copyIntoArray(@Nullable Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); } @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return entries.iterator(); } @Override ImmutableList<Entry<K, V>> createAsList() { return entries; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
} @Override Iterator<Entry<E>> entryIterator() { final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); return new UnmodifiableIterator<Multiset.Entry<E>>() { @Override public boolean hasNext() { return backingEntries.hasNext(); } @Override public Multiset.Entry<E> next() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
@CheckForNull public V get(@CheckForNull Object key) { Integer keyIndex = keyToIndex().get(key); return (keyIndex == null) ? null : getValue(keyIndex); } @Override UnmodifiableIterator<Entry<K, V>> entryIterator() { return new AbstractIterator<Entry<K, V>>() { private int index = -1; private final int maxIndex = keyToIndex().size(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
} @Override @GwtIncompatible("not used in GWT") int copyIntoArray(@Nullable Object[] dst, int offset) { return entries.copyIntoArray(dst, offset); } @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return entries.iterator(); } @Override public Spliterator<Entry<K, V>> spliterator() { return entries.spliterator(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
throw new UnsupportedOperationException(); } /** * Scope the return type to {@link UnmodifiableIterator} to ensure this is an unmodifiable view. * * @since 20.0 (present with return type {@link Iterator} since 2.0) */ @Override public abstract UnmodifiableIterator<E> iterator(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0)