Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Tables (0.1 sec)

  1. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
       * ordering of all views in the returned table. Note that some views of the original table and the
       * copied table may have different iteration orders. For more control over the ordering, create a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TransposedTableTest.java

      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> table = transpose(original);
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testTransposeTransposed() {
        Table<Integer, String, Character> original = HashBasedTable.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, Character> other = HashBasedTable.create();
        other.put("foo", 1, 'd');
        other.put("bar", 2, 'e');
        other.put("cat", 2, 'f');
        assertThrows(UnsupportedOperationException.class, () -> table.putAll(other));
        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        Table<String, Integer, Character> table = newCustomTable(backingMap, factory);
        populate(table, data);
        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/UnmodifiableTableRowMapTest.java

      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        Table<String, Integer, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

      }
    
      @Override
      protected SortedMap<String, Map<Integer, Character>> makePopulatedMap() {
        RowSortedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, 'c');
        return unmodifiableRowSortedTable(table).rowMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        return unmodifiableRowSortedTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<String, Integer, Character> makeTable();
    
        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
    
        abstract Table<String, Integer, Character> makeTable();
    
        @Override
        protected Map<String, Map<Integer, Character>> makePopulatedMap() {
          Table<String, Integer, Character> table = makeTable();
          populateTable(table);
          return table.rowMap();
        }
    
        void populateTable(Table<String, Integer, Character> table) {
          table.put("foo", 1, 'a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top