- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 392 for Iterables (0.04 sec)
-
guava-testlib/src/com/google/common/testing/CollectorTester.java
SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) { collector.accumulator().accept(accum, input); } return accum; } },Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} // Unsafe, see ImmutableSortedSetFauxverideShim. @SuppressWarnings("unchecked") public static <E> ImmutableSortedSet<E> copyOf(Iterable<? extends E> elements) { return copyOfInternal((Ordering<E>) Ordering.natural(), (Iterable<E>) elements, false); } // Unsafe, see ImmutableSortedSetFauxverideShim. @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K 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 Dec 26 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/PredecessorsFunction.java
* * <p>Some algorithms that operate on a {@code PredecessorsFunction} 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-nullRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
// create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class). private static class EnumMultisetFactory { @Keep // used reflectively by testEquals public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { return EnumMultiset.create(elements); } } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType")); assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName())); assertEquals("", Reflection.getPackageName("NoPackage")); assertEquals("java.util", Reflection.getPackageName(Map.Entry.class));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
*/ protected IteratorTester( int steps, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, KnownOrder knownOrder) { super(steps, Collections.singleton(null), features, expectedElements, knownOrder, 0); } @Override protected final Iterable<Stimulus<E, Iterator<E>>> getStimulusValues() { return iteratorStimuli(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeSet.java
* is empty. * * <p>This is equivalent to checking if this range set {@link #encloses} each range in {@code * other}. * * @since 21.0 */ default boolean enclosesAll(Iterable<Range<C>> other) { for (Range<C> range : other) { if (!encloses(range)) { return false; } } return true; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.collection.EnumerationIterator.iterable; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.util.Enumeration; import java.util.Vector;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
List<Predicate<Object>> list = new ArrayList<>(); Iterable<Predicate<Object>> iterable = new Iterable<Predicate<Object>>() { @Override public Iterator<Predicate<Object>> iterator() { return list.iterator(); } }; Predicate<Object> predicate = Predicates.and(iterable); assertTrue(predicate.apply(1)); list.add(Predicates.alwaysFalse());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0)