Uses of Class
org.miaixz.bus.core.compare.ComparatorChain
Packages that use ComparatorChain
-
Uses of ComparatorChain in org.miaixz.bus.core.compare
Methods in org.miaixz.bus.core.compare that return ComparatorChainModifier and TypeMethodDescriptionComparatorChain.addChain(Comparator<E> element) ComparatorChain.addComparator(Comparator<E> comparator) 在链的尾部添加比较器,使用正向排序ComparatorChain.addComparator(Comparator<E> comparator, boolean reverse) 在链的尾部添加比较器,使用给定排序方式static <E> ComparatorChain<E> ComparatorChain.of(Comparator<E> comparator) 构建ComparatorChainstatic <E> ComparatorChain<E> ComparatorChain.of(Comparator<E>... comparators) 构建ComparatorChainstatic <E> ComparatorChain<E> ComparatorChain.of(Comparator<E> comparator, boolean reverse) 构建ComparatorChainstatic <E> ComparatorChain<E> ComparatorChain.of(List<Comparator<E>> comparators) 构建ComparatorChainstatic <E> ComparatorChain<E> ComparatorChain.of(List<Comparator<E>> comparators, BitSet bits) 构建ComparatorChainComparatorChain.setComparator(int index, Comparator<E> comparator) 替换指定位置的比较器,保持原排序方式ComparatorChain.setComparator(int index, Comparator<E> comparator, boolean reverse) 替换指定位置的比较器,替换指定排序方式ComparatorChain.setForwardSort(int index) 更改指定位置的排序方式为正序ComparatorChain.setReverseSort(int index) 更改指定位置的排序方式为反序