Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testIterationOrder (0.09 sec)

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

      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

            .addEqualityGroup(ImmutableMultiset.of("a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b", "c", "d"))
            .testEquals();
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
        assertThat(ImmutableMultiset.of("c", "b", "a", "c").elementSet())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

            .addEqualityGroup(ImmutableMultiset.of("a", "b"))
            .addEqualityGroup(ImmutableMultiset.of("a", "b", "c", "d"))
            .testEquals();
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
        assertThat(ImmutableMultiset.of("c", "b", "a", "c").elementSet())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b"));
        assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b", "c", "d"));
      }
    
      public void testIterationOrder() {
        Collection<String> c = ImmutableSortedMultiset.of("a", "b", "a");
        assertThat(c).containsExactly("a", "a", "b").inOrder();
      }
    
      public void testMultisetWrites() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top