Searched refs:columnComparator (Results 1 – 5 of 5) sorted by relevance
/external/guava/guava/src/com/google/common/collect/ |
D | TreeBasedTable.java | 76 private final Comparator<? super C> columnComparator; field in TreeBasedTable 115 Comparator<? super C> columnComparator) { in create() argument 117 checkNotNull(columnComparator); in create() 118 return new TreeBasedTable<R, C, V>(rowComparator, columnComparator); in create() 129 table.rowComparator(), table.columnComparator()); in create() 135 Comparator<? super C> columnComparator) { in TreeBasedTable() argument 137 new Factory<C, V>(columnComparator)); in TreeBasedTable() 138 this.columnComparator = columnComparator; in TreeBasedTable() 155 public Comparator<? super C> columnComparator() { in columnComparator() method in TreeBasedTable 156 return columnComparator; in columnComparator() [all …]
|
D | ImmutableTable.java | 151 private Comparator<? super C> columnComparator; field in ImmutableTable.Builder 171 Comparator<? super C> columnComparator) { in orderColumnsBy() argument 172 this.columnComparator = checkNotNull(columnComparator); in orderColumnsBy() 236 cells, rowComparator, columnComparator); in build()
|
D | RegularImmutableTable.java | 92 @Nullable final Comparator<? super C> columnComparator) { in forCells() argument 94 if (rowComparator != null || columnComparator != null) { in forCells() 110 return (columnComparator == null) ? 0 in forCells() 111 : columnComparator.compare( in forCells() 117 return forCellsInternal(cells, rowComparator, columnComparator); in forCells() 132 @Nullable Comparator<? super C> columnComparator) { in forCellsInternal() argument 150 if (columnComparator != null) { in forCellsInternal() 152 Collections.sort(columnList, columnComparator); in forCellsInternal()
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | TreeBasedTable_CustomFieldSerializer.java | 44 Comparator<Object> columnComparator in instantiate() local 49 = TreeBasedTable.create(rowComparator, columnComparator); in instantiate() 66 writer.writeObject(instance.columnComparator()); in serialize()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | TreeBasedTableTest.java | 124 Comparator<? super Integer> columnComparator, in create() argument 127 TreeBasedTable.create(rowComparator, columnComparator); in create() 208 assertSame(Ordering.natural(), sortedTable.columnComparator()); in testColumnComparator() 212 assertSame(Ordering.usingToString(), sortedTable.columnComparator()); in testColumnComparator()
|