Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sampleValues (0.1 sec)

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

          SampleElements<V> sampleValues =
              ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()).sampleValues();
          return new SampleElements<>(
              mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())),
              mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())),
              mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

                getSubjectGenerator().getInnerGenerator())
            .sampleKeys();
      }
    
      protected SampleElements<V> sampleValues() {
        return ((TestMultimapGenerator<K, V, ? extends Multimap<K, V>>)
                getSubjectGenerator().getInnerGenerator())
            .sampleValues();
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return multimap.entries();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToList(values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToSet(values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToSet(values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
    
        @Override
        public SampleElements<String> sampleKeys() {
          return new SampleElements<>("one", "two", "three", "four", "five");
        }
    
        @Override
        public SampleElements<String> sampleValues() {
          return new SampleElements<>("january", "february", "march", "april", "may");
        }
    
        @Override
        public Collection<String> createCollection(Iterable<? extends String> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
    
        @Override
        public SampleElements<String> sampleKeys() {
          return new SampleElements<>("one", "two", "three", "four", "five");
        }
    
        @Override
        public SampleElements<String> sampleValues() {
          return new SampleElements<>("january", "february", "march", "april", "may");
        }
    
        @Override
        public Collection<String> createCollection(Iterable<? extends String> values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
       *     multimap} may or may not have {@code sampleValue} as a key.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapIsUnmodifiable(Multimap<K, V> multimap, K sampleKey, V sampleValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top