- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 323 for iterable (0.32 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java
private final boolean errors; private final T value; private final Iterable<? extends ModelProblem> problems; private Result(boolean errors, T model, Iterable<? extends ModelProblem> problems) { this.errors = errors; this.value = model; this.problems = problems; } public Iterable<? extends ModelProblem> getProblems() { return problems; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
} public void testDoubler() { Iterable<Integer> doubled = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { return newDoubler(2, 32); } }; assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder(); } public void testSampleCode() { Iterable<Integer> actual = new Iterable<Integer>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
} CacheBuilderFactory withValueStrengths(Set<Strength> valueStrengths) { this.valueStrengths = Sets.newLinkedHashSet(valueStrengths); return this; } Iterable<CacheBuilder<Object, Object>> buildAllPermutations() { Iterable<List<Object>> combinations = buildCartesianProduct( concurrencyLevels, initialCapacities, maximumSizes, expireAfterWrites,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyIterableOnAbsentKey() { Iterable<V> iterable = new Iterable<V>() { @Override public Iterator<V> iterator() { return ImmutableSet.<V>of().iterator(); } }; assertFalse(multimap().putAll(k3(), iterable)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 7.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyIterableOnAbsentKey() { Iterable<V> iterable = new Iterable<V>() { @Override public Iterator<V> iterator() { return ImmutableSet.<V>of().iterator(); } }; assertFalse(multimap().putAll(k3(), iterable)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 7.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
default: return create(elements); } } public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { Iterable<? extends E> iterable = elements; return copyOf(iterable); } public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { if (elements instanceof ImmutableSet && !(elements instanceof ImmutableSortedSet)) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.3K bytes - Viewed (0) -
android/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>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
private static void runConcurrentlyMutatedTest( Collection<Integer> initialContents, Iterable<ListFrobber> actionsToPerformConcurrently, WrapWithIterable wrap) { ConcurrentlyMutatedList<Integer> concurrentlyMutatedList = newConcurrentlyMutatedList(initialContents, actionsToPerformConcurrently); Iterable<Integer> iterableToCopy = wrap == WrapWithIterable.WRAP
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
/** * for each構文で使用するために{@link Enumeration}をラップした{@link Iterable}を返します。 * * @param <T> * 列挙する要素の型 * @param enumeration * {@link Enumeration}。{@literal null}であってはいけません * @return {@link Enumeration}をラップした{@link Iterable} */ public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) { assertArgumentNotNull("enumeration", enumeration);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeTraverserTest.java
static final Tree h = new Tree('h', d, e, g); static String iterationOrder(Iterable<? extends Node> iterable) { StringBuilder builder = new StringBuilder(); for (Node t : iterable) { builder.append(t.value); } StringBuilder forEachBuilder = new StringBuilder(); iterable.forEach(t -> forEachBuilder.append(t.value)); assertTrue(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3.6K bytes - Viewed (0)