public class NameTimestampComparator extends Object implements Comparator<Column>
public int compare(Column c1, Column c2)
The result after sorting with this comparator will be ordered by name in ascending order first, then by timestamp in descending order.
If the two Columns being compared have never had their timestamp set, they cannot be compared.
compare 在接口中 Comparator<Column>c1 - c2 - Copyright © 2025. All Rights Reserved.