- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 1,144 for iterate (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
TreeMultimap<String, Integer> multimap = createPopulate(); Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator(); Entry<String, Collection<Integer>> entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("foo"); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertThat(entry.getKey()).isEqualTo("google");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
* @since 11.0 (generics widened in 13.0) */ public static <T> Iterable<T> presentInstances( Iterable<? extends Optional<? extends T>> optionals) { checkNotNull(optionals); return () -> new AbstractIterator<T>() { private final Iterator<? extends Optional<? extends T>> iterator = checkNotNull(optionals.iterator()); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicates.java
} private static <T> List<T> defensiveCopy(T... array) { return defensiveCopy(Arrays.asList(array)); } static <T> List<T> defensiveCopy(Iterable<T> iterable) { ArrayList<T> list = new ArrayList<>(); for (T element : iterable) { list.add(checkNotNull(element)); } return list; } private Predicates() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RangeMap.java
/** * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to * this range map are guaranteed to read through to the returned {@code Map}. * * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the * {@code Range} entries. * * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}. */ Map<Range<K>, V> asMapOfRanges();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
return Collections.unmodifiableSet(adjacentNodeValues.keySet()); } else { return new AbstractSet<N>() { @Override public UnmodifiableIterator<N> iterator() { Iterator<NodeConnection<N>> nodeConnections = orderedNodeConnections.iterator(); Set<N> seenNodes = new HashSet<>(); return new AbstractIterator<N>() { @Override protected @Nullable N computeNext() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
} } public static <K, V> ImmutableMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { if (entries instanceof Collection) { return fromEntryList((Collection<? extends Entry<? extends K, ? extends V>>) entries); } else { return fromEntryList(Lists.newArrayList(entries.iterator())); } } abstract boolean isPartialView(); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
@Override public UnmodifiableIterator<E> iterator() { Iterable<E> incidentEdges = (selfLoopCount == 0) ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet()) : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); return Iterators.unmodifiableIterator(incidentEdges.iterator()); } @Override public int size() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
/** * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to * forward to this implementation. */ protected @Nullable Entry<K, V> standardPollFirstEntry() { return Iterators.pollNext(entrySet().iterator()); } @Override public @Nullable Entry<K, V> pollLastEntry() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0)