Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for samples (0.13 sec)

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

        }
    
        @Override
        public SampleElements<Entry<V, K>> samples() {
          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.entryComparator = entryComparator(emptyMap.comparator());
    
          // derive values for inclusive filtering from the input samples
          SampleElements<Entry<K, V>> samples = delegate.samples();
          List<Entry<K, V>> samplesList =
              asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
          sort(samplesList, entryComparator);
          this.firstInclusive = samplesList.get(0).getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        public SampleElements<Multiset.Entry<E>> samples() {
          SampleElements<E> samples = gen.samples();
          return new SampleElements<>(
              Multisets.immutableEntry(samples.e0(), 3),
              Multisets.immutableEntry(samples.e1(), 4),
              Multisets.immutableEntry(samples.e2(), 1),
              Multisets.immutableEntry(samples.e3(), 5),
              Multisets.immutableEntry(samples.e4(), 2));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(Collections.nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @Override
        public SampleElements<Entry<V, K>> samples() {
          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. README.md

      - [Scala Applications](https://docs.gradle.org/current/samples/sample_building_scala_applications.html)
      - [Spring Boot Web Apps](https://docs.gradle.org/current/samples/sample_building_spring_boot_web_applications.html)
      - [C++ Libraries](https://docs.gradle.org/current/samples/sample_building_cpp_libraries.html)
      - [Swift Apps](https://docs.gradle.org/current/samples/sample_building_swift_applications.html)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Nov 01 05:30:25 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    """
                    package org.apache.maven.samples.sample;
    
                    public class App {
                        public static void main(String... args) {
                            System.out.println("Hello World!");
                        }
                    }
                    """;
            Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java");
            Files.createDirectories(appJava.getParent());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        public SampleElements<Multiset.Entry<E>> samples() {
          SampleElements<E> samples = gen.samples();
          return new SampleElements<>(
              Multisets.immutableEntry(samples.e0(), 3),
              Multisets.immutableEntry(samples.e1(), 4),
              Multisets.immutableEntry(samples.e2(), 1),
              Multisets.immutableEntry(samples.e3(), 5),
              Multisets.immutableEntry(samples.e4(), 2));
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      protected final E e0() {
        return samples.e0();
      }
    
      protected final E e1() {
        return samples.e1();
      }
    
      protected final E e2() {
        return samples.e2();
      }
    
      protected final E e3() {
        return samples.e3();
      }
    
      protected final E e4() {
        return samples.e4();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top