Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBashIt (0.07 sec)

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

        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
      private static final int N = 1000;
    
      public void testBashIt() throws Exception {
        BiMap<Integer, Integer> bimap = HashBiMap.create(N);
        BiMap<Integer, Integer> inverse = bimap.inverse();
    
        for (int i = 0; i < N; i++) {
          assertNull(bimap.put(2 * i, 2 * i + 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top