- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 623 for iterables (0.57 seconds)
-
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
return ofClassAndContents(Object.class, (E[]) new Object[0], contents); } public static <E extends @Nullable Object> MinimalSet<E> ofClassAndContents( Class<? super @NonNull E> type, E[] emptyArrayForContents, Iterable<? extends E> contents) { List<E> setContents = new ArrayList<>(); for (E e : contents) { if (!setContents.contains(e)) { setContents.add(e); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
* treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupted status is set * @since 11.0 */ public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception { // This will be caught by getAll(), causing it to fall back to multiple calls to // LoadingCache.get throw new UnsupportedLoadingOperationException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectSpliterators.java
| Spliterator.ORDERED | Spliterator.SORTED); } } return new Splitr(); } /** * Returns a {@code Spliterator} that iterates over the elements of the spliterators generated by * applying {@code function} to the elements of {@code fromSpliterator}. */ static <InElementT extends @Nullable Object, OutElementT extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 20.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
} /** * Returns the nodes reachable from {@code node} in {@code graph}, according to the given {@code * strategy}. */ private static <N> Iterable<N> getReachableNodes( Graph<N> graph, N node, TransitiveClosureSelfLoopStrategy strategy) { Traverser<N> traverser = Traverser.forGraph(graph); switch (strategy) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
@SuppressWarnings("unchecked") public static <K, V> ImmutableSortedMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { return new Builder<K, V>((Comparator<K>) NATURAL_ORDER).putAll(entries).build(); } public static <K, V> ImmutableSortedMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries, Comparator<? super K> comparator) {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) -
guava/src/com/google/common/collect/ImmutableCollection.java
* always very useful information. * * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the * appropriate {@code copyOf} method itself. * * <p>Expressing the immutability guarantee directly in the type that user code references is a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
} @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } } private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
for (Node node : source.getCommentText()) { nodeStack.appendChild(node); } return true; } } private interface CommentSource { Iterable<? extends Node> getCommentText(); } private static class NoOpCommentSource implements CommentSource { @Override public List<? extends Node> getCommentText() {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
list.add("a"); assertThrows(AssertionFailedError.class, () -> assertEmpty(list)); assertThrows( AssertionFailedError.class, () -> assertEmpty( new Iterable<String>() { @Override public Iterator<String> iterator() { return singleton("a").iterator(); } })); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 09 19:16:24 GMT 2026 - 4.4K bytes - Click Count (0)