- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 426 for iterable (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look * only at the returned contents without regard for order. */ Iterable<E> order(List<E> insertionOrder);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* entries in the same order as the original iterable. * * @throws IllegalArgumentException if two keys have the same value or two values have the same * key * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */ public static <K, V> ImmutableBiMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { int estimatedSize =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
import java.util.List; import org.apache.maven.artifact.ArtifactScopeEnum; /** * classpath container that is aware of the classpath scope * * */ @Deprecated public class ClasspathContainer implements Iterable<ArtifactMetadata> { private List<ArtifactMetadata> classpath; private ArtifactScopeEnum scope; // -------------------------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
*/ @CanIgnoreReturnValue public B withFeatures(Feature<?>... features) { return withFeatures(asList(features)); } @CanIgnoreReturnValue public B withFeatures(Iterable<? extends Feature<?>> features) { for (Feature<?> feature : features) { this.features.add(feature); } return self(); } public Set<Feature<?>> getFeatures() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
return forCellsInternal(cells, rowComparator, columnComparator); } static <R, C, V> RegularImmutableTable<R, C, V> forCells(Iterable<Cell<R, C, V>> cells) { return forCellsInternal(cells, null, null); } private static <R, C, V> RegularImmutableTable<R, C, V> forCellsInternal( Iterable<Cell<R, C, V>> cells, @Nullable Comparator<? super R> rowComparator, @Nullable Comparator<? super C> columnComparator) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 08 13:05:15 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
public SortedMultiset<E> create(Object... entries) { return ((SortedMultiset<E>) super.create(entries)).descendingMultiset(); } @Override public Iterable<E> order(List<E> insertionOrder) { return ImmutableList.copyOf(super.order(insertionOrder)).reverse(); } }) .named(parentBuilder.getName() + " descending")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
assertFalse(Multisets.retainOccurrences(multiset, toRetain)); assertThat(multiset).isEmpty(); } public void testRemoveOccurrencesIterableEmpty() { Multiset<String> multiset = HashMultiset.create(); Iterable<String> toRemove = asList("a", "b", "a"); assertFalse(Multisets.removeOccurrences(multiset, toRemove)); assertTrue(multiset.isEmpty()); } public void testRemoveOccurrencesMultisetEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
import org.jspecify.annotations.NullUnmarked; @NullUnmarked public final class SetsFilterNavigableSetTest extends AbstractFilteredNavigableSetTest { @Override NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) { return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin * shortcut for creating an empty list then calling {@link Iterables#addAll}. * * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link * ImmutableList#copyOf(Iterable)} instead. (Or, change {@code elements} to be a {@link * FluentIterable} and call {@code elements.toList()}.) *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
.withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); } private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths(); return Iterables.transform( factory.buildAllPermutations(), new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0)