- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for HashBasedTable (0.31 sec)
-
android/guava/src/com/google/common/collect/HashBasedTable.java
} private static final long serialVersionUID = 0; } /** Creates an empty {@code HashBasedTable}. */ public static <R, C, V> HashBasedTable<R, C, V> create() { return new HashBasedTable<>(new LinkedHashMap<R, Map<C, V>>(), new Factory<C, V>(0)); } /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBasedTable.java
} private static final long serialVersionUID = 0; } /** Creates an empty {@code HashBasedTable}. */ public static <R, C, V> HashBasedTable<R, C, V> create() { return new HashBasedTable<>(new LinkedHashMap<R, Map<C, V>>(), new Factory<C, V>(0)); } /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 35.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TransposedTableTest.java
Table<Integer, String, Character> original = HashBasedTable.create(); Table<String, Integer, Character> table = Tables.transpose(original); table.clear(); populate(table, data); return table; } public void testTransposeTransposed() { Table<Integer, String, Character> original = HashBasedTable.create(); assertSame(original, Tables.transpose(Tables.transpose(original))); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 16:54:11 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransformValuesColumnMapTest.java
@Override Table<Integer, String, Character> makeTable() { Table<Integer, String, String> original = HashBasedTable.create(); return Tables.transformValues(original, FIRST_CHARACTER); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<Integer, String, String> table = HashBasedTable.create(); table.put(1, "foo", "apple"); table.put(1, "bar", "banana");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java
} @Override Table<String, Character, Integer> makeTable() { Table<String, Character, Integer> table = HashBasedTable.create(); return Tables.transformValues(table, DIVIDE_BY_2); } @Override protected Map<String, Integer> makePopulatedMap() { Table<String, Character, Integer> table = HashBasedTable.create(); table.put("one", 'a', 1); table.put("two", 'a', 2); table.put("three", 'a', 3);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
return input == null ? null : input.charAt(0); } }; @Override protected Table<String, Integer, Character> create(@Nullable Object... data) { Table<String, Integer, String> table = HashBasedTable.create(); checkArgument(data.length % 3 == 0); for (int i = 0; i < data.length; i += 3) { String value = (data[i + 2] == null) ? null : (data[i + 2] + "transformed");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 16:54:11 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java
Table<String, Integer, Character> makeTable() { Table<String, Integer, String> original = HashBasedTable.create(); return Tables.transformValues(original, TableCollectionTest.FIRST_CHARACTER); } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { Table<String, Integer, String> table = HashBasedTable.create(); table.put("foo", 1, "apple"); table.put("bar", 1, "banana");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java
} @Override Table<String, Character, Integer> makeTable() { Table<String, Character, Integer> table = HashBasedTable.create(); return Tables.unmodifiableTable(table); } @Override protected Map<String, Integer> makePopulatedMap() { Table<String, Character, Integer> table = HashBasedTable.create(); table.put("one", 'a', 1); table.put("two", 'a', 2); table.put("three", 'a', 3);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableTableRowMapTest.java
@Override Table<String, Integer, Character> makeTable() { Table<String, Integer, Character> original = HashBasedTable.create(); return Tables.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'); table.put("foo", 3, 'c');
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.4K bytes - Viewed (0)