- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 380 for Iterable (0.05 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
@SuppressWarnings("rawtypes") // Iterable.class TypeToken<? extends Iterable> genericType = TypeToken.toGenericType(Iterable.class); assertEquals(Iterable.class, genericType.getRawType()); assertEquals( Types.newParameterizedType(Iterable.class, Iterable.class.getTypeParameters()[0]), genericType.getType()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 15K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/Iterators.java
* Returns an iterator that cycles indefinitely over the elements of {@code iterable}. * * <p>The returned iterator supports {@code remove()} if the provided iterator does. After {@code * remove()} is called, subsequent cycles omit the removed element, which is no longer in {@code * iterable}. The iterator's {@code hasNext()} method returns {@code true} until {@code iterable} * is empty. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.codelibs.core.collection.EnumerationIterator.iterable; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.zip.ZipEntry;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
CountingIterable iterable = new CountingIterable(); List<String> list = ImmutableList.copyOf(iterable); assertEquals(asList("a", "b", "a"), list); } public void testCopyOf_plainIterable_iteratesOnce() { CountingIterable iterable = new CountingIterable(); ImmutableList<String> unused = ImmutableList.copyOf(iterable); assertEquals(1, iterable.count); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} @Override public Iterable<V> order(List<V> insertionOrder) { K k = ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .sampleKeys() .e0(); List<Entry<K, V>> entries = new ArrayList<>(); for (V v : insertionOrder) { entries.add(mapEntry(k, v)); } Iterable<Entry<K, V>> ordered = multimapGenerator.order(entries);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); } @SuppressWarnings("unchecked") // proxy of Iterable<String> private static Iterable<String> newDelegatingIterableWithEquals(Iterable<String> delegate) { return Reflection.newProxy(Iterable.class, new DelegatingInvocationHandlerWithEquals(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. * * <p>The elements of the returned {@code Iterable} must each be: * * <ul> * <li>Non-null
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
throws IOException { return appendTo(appendable, iterable(first, second, rest)); } /** * Appends the string representation of each of {@code parts}, using the previously configured * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable, * Iterable)}, except that it does not throw {@link IOException}. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
assertEquals(1, iterable.count); } public void testCopyOf_hashMultiset() { Multiset<String> iterable = HashMultiset.create(asList("a", "b", "a")); Multiset<String> multiset = ImmutableMultiset.copyOf(iterable); assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset); } public void testCopyOf_treeMultiset() { Multiset<String> iterable = TreeMultiset.create(asList("a", "b", "a"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0)