Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReplaceValuesHandlesDuplicates (0.15 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetMultimapReplaceValuesTester<K, V>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesHandlesDuplicates() {
        List<V> values = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, v0(), v1());
        }
      }
    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