- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for columnComparator (0.26 sec)
-
guava/src/com/google/common/collect/TreeBasedTable.java
new TreeBasedTable<>(table.rowComparator(), table.columnComparator()); result.putAll(table); return result; } TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) { super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator)); this.columnComparator = columnComparator; } // TODO(jlevy): Move to StandardRowSortedTable?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
} /** Specifies the ordering of the generated table's columns. */ @CanIgnoreReturnValue public Builder<R, C, V> orderColumnsBy(Comparator<? super C> columnComparator) { this.columnComparator = checkNotNull(columnComparator, "columnComparator"); return this; } /** * Associates the ({@code rowKey}, {@code columnKey}) pair with {@code value} in the built
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
protected TreeBasedTable<String, Integer, Character> create( Comparator<? super String> rowComparator, Comparator<? super Integer> columnComparator, Object... data) { TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(rowComparator, columnComparator); table.put("foo", 4, 'a'); table.put("cat", 1, 'b'); table.clear(); populate(table, data); return table; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0)