- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,125 for Collections2 (0.33 sec)
-
android/guava/src/com/google/common/collect/Collections2.java
* to streams. * * @author Chris Povirk * @author Mike Bostock * @author Jared Levy * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Collections2 { private Collections2() {} /** * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is * a live view of {@code unfiltered}; changes to one affect the other. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 22.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* to streams. * * @author Chris Povirk * @author Mike Bostock * @author Jared Levy * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Collections2 { private Collections2() {} /** * Returns the elements of {@code unfiltered} that satisfy a predicate. The returned collection is * a live view of {@code unfiltered}; changes to one affect the other. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertPermutationsCount(1, Collections2.permutations(Collections.<Integer>emptyList())); assertPermutationsCount(1, Collections2.permutations(newArrayList(1))); assertPermutationsCount(2, Collections2.permutations(newArrayList(1, 2))); assertPermutationsCount(6, Collections2.permutations(newArrayList(1, 2, 3))); assertPermutationsCount(5040, Collections2.permutations(newArrayList(1, 2, 3, 4, 5, 6, 7)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TopKSelectorTest.java
} public void testOfferedKPlusOne() { for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5))) { TopKSelector<Integer> top = TopKSelector.least(4); top.offerAll(list); assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder(); } } public void testOfferedThreeK() { for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5, 6))) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); return row != null && Collections2.safeContains( row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); } return false; } @Override public boolean remove(@CheckForNull Object o) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractTable.java
if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); return row != null && Collections2.safeContains( row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); } return false; } @Override public boolean remove(@CheckForNull Object o) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 6.5K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java
*/ package org.gradle.plugins.ide.idea.internal; import com.google.common.base.Objects; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.common.collect.Collections2; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; import groovy.util.Node; import org.gradle.api.Action; import org.gradle.api.GradleScriptException; import org.gradle.api.Project;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingCollection.java
* implementation. * * @since 7.0 */ protected boolean standardContainsAll(Collection<?> collection) { return Collections2.containsAllImpl(this, collection); } /** * A sensible definition of {@link #addAll} in terms of {@link #add}. If you override {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingCollection.java
* implementation. * * @since 7.0 */ protected boolean standardContainsAll(Collection<?> collection) { return Collections2.containsAllImpl(this, collection); } /** * A sensible definition of {@link #addAll} in terms of {@link #add}. If you override {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 8.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java
import com.google.common.base.Function; import com.google.common.base.Functions; import com.google.common.base.Joiner; import com.google.common.base.Predicate; import com.google.common.collect.Collections2; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.Iterables;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 9.5K bytes - Viewed (0)