Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyOfSparse (0.17 sec)

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

        assertThat(table.row('b').keySet()).containsExactly(1, 2).inOrder();
        assertThat(ImmutableTable.copyOf(table).row('b').keySet()).containsExactly(2, 1).inOrder();
      }
    
      public void testCopyOfSparse() {
        Table<Character, Integer, String> table = TreeBasedTable.create();
        table.put('x', 2, "foo");
        table.put('r', 1, "bar");
        table.put('c', 3, "baz");
        table.put('b', 7, "cat");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top