Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCreate (0.06 sec)

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

                    MapFeature.GENERAL_PURPOSE,
                    CollectionFeature.KNOWN_ORDER)
                .createTestSuite());
        suite.addTestSuite(EnumBiMapTest.class);
        return suite;
      }
    
      public void testCreate() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertTrue(bimap.isEmpty());
        assertEquals("{}", bimap.toString());
        assertEquals(HashBiMap.create(), bimap);
    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. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      }
    
      public void testKeysToString_ordering() {
        Multimap<String, Integer> multimap = initializeMultimap5();
        assertEquals("[foo x 2, bar x 2, cow]", multimap.keys().toString());
      }
    
      public void testCreate() {
        LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
    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