- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 392 for Iterables (0.19 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import com.google.common.testing.NullPointerTester; import com.google.common.testing.TestLogHandler; import com.google.common.util.concurrent.Service.State;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
Iterable<String> set = newHashSet("a", "b"); assertFalse(FluentIterable.from(set).contains("c")); } public void testContains_nonNullIterableYes() { Iterable<String> set = iterable("a", null, "b"); assertTrue(FluentIterable.from(set).contains("b")); } public void testContains_nonNullIterableNo() { Iterable<String> iterable = iterable("a", "b"); assertFalse(FluentIterable.from(iterable).contains("c"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import com.google.common.collect.ImmutableSortedMultiset; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.ImmutableTable; import com.google.common.collect.Iterables; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.LinkedHashMultiset; import com.google.common.collect.ListMultimap; import com.google.common.collect.Lists;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
* NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The * actual implementation tests are further down. */ public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>> extends TestCase { abstract C createUnfiltered(Iterable<Integer> contents); abstract C filter(C elements, Predicate<? super Integer> predicate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} @Override public Optional<Long> sizeIfKnown() { if (!(sources instanceof Collection)) { // Infinite Iterables can cause problems here. Of course, it's true that most of the other // methods on this class also have potential problems with infinite Iterables. But unlike // those, this method can cause issues even if the user is dealing with a (finite) slice()Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
* {@link Predicate#apply}. Do not provide a predicate such as {@code * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) * * @since 14.0 */ public static <E extends @Nullable Object> Multiset<E> filter( Multiset<E> unfiltered, Predicate<? super E> predicate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* {@link Predicate#apply}. Do not provide a predicate such as {@code * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) * * @since 14.0 */ public static <E extends @Nullable Object> Multiset<E> filter( Multiset<E> unfiltered, Predicate<? super E> predicate) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import com.google.common.collect.ImmutableSortedMultiset; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.ImmutableTable; import com.google.common.collect.Iterables; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.LinkedHashMultiset; import com.google.common.collect.ListMultimap; import com.google.common.collect.Lists;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
Iterable<? extends Comparator<? super T>> comparators) { return new CompoundOrdering<>(comparators); } /** * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached, * but not the other, the shorter iterable is considered to be less than the longer one. For
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 39.5K bytes - Viewed (0)