- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 370 for Iterables (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/SetsTest.java
} public void testNewTreeSetFromIterableDerived() { Iterable<Derived> iterable = asList(new Derived("foo"), new Derived("bar")); TreeSet<Derived> set = Sets.newTreeSet(iterable); assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder(); } public void testNewTreeSetFromIterableNonGeneric() { Iterable<LegacyComparable> iterable =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
package com.google.common.collect; import static com.google.common.collect.Comparators.isInOrder; import static com.google.common.collect.ImmutableSortedSet.toImmutableSortedSet; import static com.google.common.collect.Iterables.elementsEqual; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.truth.Truth.assertThat;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no * way to ensure that a symbolic link to a directory is not followed when traversing the tree. In * this case, iterables created by this traverser could contain files that are outside of the * given directory or even be infinite if there is a symbolic link loop. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
return delegatesCast; } /** Can't use Iterables.toArray because it's not gwt compatible */ @SuppressWarnings("unchecked") private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray( Iterable<? extends ListenableFuture<? extends T>> futures) { Collection<ListenableFuture<? extends T>> collection;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* entries in the same order as the original iterable. * * @throws NullPointerException if any key, value, or entry is null * @throws IllegalArgumentException if two entries have the same key * @since 19.0 */ public static <K, V> ImmutableMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
implements Serializable { final Equivalence<E> elementEquivalence; PairwiseEquivalence(Equivalence<E> elementEquivalence) { this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence); } @Override protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) { Iterator<T> iteratorA = iterableA.iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/base/PairwiseEquivalence.java
implements Serializable { final Equivalence<E> elementEquivalence; PairwiseEquivalence(Equivalence<E> elementEquivalence) { this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence); } @Override protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) { Iterator<T> iteratorA = iterableA.iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
// <Integer> needed to prevent warning :( private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1); private static final Iterable<Integer> iterable12 = Arrays.asList(1, 2); private static final Iterable<Integer> iterable123 = Arrays.asList(1, 2, 3); private static final Iterable<@Nullable Integer> iterableNull = Arrays.asList((Integer) null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
/** * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement. * * @param clazz the class (must not be {@literal null}) * @return an {@link Iterable} wrapping a {@link ClassIterator} */ public static Iterable<Class<?>> iterable(final Class<?> clazz) { return iterable(clazz, true); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
} /** * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops. * * @param reader * The {@link BufferedReader} to read strings from. Must not be {@literal null}. * @return An {@link Iterable} that wraps a {@link LineIterator}. */ public static Iterable<String> iterable(final BufferedReader reader) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0)