Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for actual_values (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        Multiset<String> multiset = TreeMultiset.create();
        multiset.add("a", 3);
        multiset.add("b", 1);
        multiset.add("c", 2);
    
        List<String> actualValues = Lists.newArrayList();
        multiset.spliterator().forEachRemaining(actualValues::add);
        assertThat(multiset).containsExactly("a", "a", "a", "b", "c", "c").inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        for (Entry<String, Integer> entry : expectedEntries) {
          multimap.put(entry.getKey(), entry.getValue());
        }
        List<Integer> actualValues = new ArrayList<>();
        multimap.values().spliterator().forEachRemaining(actualValues::add);
        assertThat(actualValues)
            .containsExactlyElementsIn(transform(expectedEntries, Entry::getValue))
            .inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top