| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(S
the first object to be compared. o1, S the second object to be compared. o2)Implements java. Compares its two arguments for order. |
| public abstract int | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Implements java. Indicates whether some other object is "equal to" this comparator. |
| public List | |
| public int | |
| public abstract boolean | |
| public String |
| columns | back to summary |
|---|---|
| private final List<? extends TableColumnBase<S, T>> columns | |
| TableColumnComparatorBase | back to summary |
|---|---|
| public TableColumnComparatorBase(TableColumnBase<S, T>... columns) | |
| TableColumnComparatorBase | back to summary |
|---|---|
| public TableColumnComparatorBase(List<? extends TableColumnBase<S, T>> columns) | |
| compare | back to summary |
|---|---|
| public int compare(S o1, S o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| doCompare | back to summary |
|---|---|
| public abstract int doCompare(final TableColumnBase<S, T> tcb, final T value1, final T value2) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Indicates whether some other object is "equal to"
this comparator. This method must obey the general contract of
Note that it is always safe not to override
| |
| getColumns | back to summary |
|---|---|
| public List | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isSortable | back to summary |
|---|---|
| public abstract boolean isSortable(final TableColumnBase<S, T> tcb) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doCompare(final TableColumnBase<S, T> tcb, final T value1, final T value2)
Implements abstract com.
|
| public boolean | isSortable(final TableColumnBase<S, T> tcb)
Implements abstract com.
|
| TableColumnComparator | back to summary |
|---|---|
| public TableColumnComparator(TableColumn<S, T>... columns) | |
| TableColumnComparator | back to summary |
|---|---|
| public TableColumnComparator(List<TableColumn<S, T>> columns) | |
| doCompare | back to summary |
|---|---|
| public int doCompare(final TableColumnBase<S, T> tcb, final T value1, final T value2) Implements abstract com.
| |
| isSortable | back to summary |
|---|---|
| public boolean isSortable(final TableColumnBase<S, T> tcb) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | doCompare(final TableColumnBase<S, T> tcb, final T value1, final T value2)
Implements abstract com.
|
| public boolean | isSortable(final TableColumnBase<S, T> tcb)
Implements abstract com.
|
| TreeTableColumnComparator | back to summary |
|---|---|
| public TreeTableColumnComparator(TreeTableColumn<S, T>... columns) | |
| TreeTableColumnComparator | back to summary |
|---|---|
| public TreeTableColumnComparator(List<TreeTableColumn<S, T>> columns) | |
| doCompare | back to summary |
|---|---|
| public int doCompare(final TableColumnBase<S, T> tcb, final T value1, final T value2) Implements abstract com.
| |
| isSortable | back to summary |
|---|---|
| public boolean isSortable(final TableColumnBase<S, T> tcb) Implements abstract com.
| |