Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 863 for collectors (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    
      /**
       * Features supported by general-purpose collections - everything but {@link #RESTRICTS_ELEMENTS}.
       *
       * @see java.util.Collection the definition of general-purpose collections.
       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      /** Features supported by collections where only removal is allowed. */
      REMOVE_OPERATIONS(SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      public void testRowComparator() {
        sortedTable = TreeBasedTable.create();
        assertSame(Ordering.natural(), sortedTable.rowComparator());
    
        sortedTable = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        assertSame(Collections.reverseOrder(), sortedTable.rowComparator());
      }
    
      public void testColumnComparator() {
        sortedTable = TreeBasedTable.create();
        sortedTable.put("", 42, 'x');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

      // This gives minimal coverage to the forwarding functions
      public void testToImmutableTableSanityTest() {
        Collector<Cell<String, String, Integer>, ?, ImmutableTable<String, String, Integer>> collector =
            toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue);
        CollectorTester.of(collector)
            .expectCollects(ImmutableTable.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/GcFinalization.java

        return max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. guava/module.json

          "capabilities": [
            {
              "group": "com.google.guava",
              "name": "guava",
              "version": "${pom.version}"
            },
            {
              "group": "com.google.collections",
              "name": "google-collections",
              "version": "${pom.version}"
            }
          ]
        },
        {
          "name": "${variant.jvmEnvironmentVariantName}RuntimeElements",
          "attributes": {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Sep 23 17:17:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

        Collection<List<Integer>> permutationSet =
            Collections2.permutations(Collections.<Integer>emptyList());
    
        assertEquals(1, permutationSet.size());
        assertTrue(permutationSet.contains(Collections.<Integer>emptyList()));
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
        assertNextPermutation(Collections.<Integer>emptyList(), permutations);
        assertNoMorePermutations(permutations);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

                MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE));
        horizontalValuesAccumulatorByAddAllPartitionedPairedStats =
            createPartitionedFilledPairedStatsAccumulator(
                MANY_VALUES, Collections.nCopies(MANY_VALUES_COUNT, OTHER_ONE_VALUE), 2);
    
        verticalValuesAccumulator =
            createFilledPairedStatsAccumulator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.FileNotFoundException;
    import java.net.URISyntaxException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.impl.ArtifactResolver;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top