- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for HashBasedTable (0.26 sec)
-
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/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/src/com/google/common/collect/Tables.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 26.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Tables.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 22:45:41 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateHashBasedTable(row, column, value); } @Generates static <R, C, V> HashBasedTable<R, C, V> generateHashBasedTable(R row, C column, V value) { HashBasedTable<R, C, V> table = HashBasedTable.create(); table.put(row, column, value); return table; } @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateHashBasedTable(row, column, value); } @Generates static <R, C, V> HashBasedTable<R, C, V> generateHashBasedTable(R row, C column, V value) { HashBasedTable<R, C, V> table = HashBasedTable.create(); table.put(row, column, value); return table; } @SuppressWarnings("rawtypes") // TreeBasedTable.create() is defined as such
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
}); } private static final class ImmutableTableCollectorState<R, C, V> { final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>(); final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create(); void put(R row, C column, V value, BinaryOperator<V> merger) { MutableCell<R, C, V> oldCell = table.get(row, column); if (oldCell == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
public void testEquals() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); // We know that we have only added non-null Characters. Table<String, Integer, Character> hashCopy = HashBasedTable.create((Table<String, Integer, ? extends Character>) table); Table<String, Integer, C> reordered = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b');
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 16:54:11 UTC 2024 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
}); } private static final class ImmutableTableCollectorState<R, C, V> { final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>(); final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create(); void put(R row, C column, V value, BinaryOperator<V> merger) { MutableCell<R, C, V> oldCell = table.get(row, column); if (oldCell == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 7.7K bytes - Viewed (0)