Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReplaceValuesPreservesOrder (0.15 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, values);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, values);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top