Package | Description |
---|---|
org.libj.util | |
org.libj.util.primitive |
Modifier and Type | Method and Description |
---|---|
static void |
ArrayUtil.sort(char[] a,
CharComparator c)
Sorts the specified array of
char s, according to the specified
CharComparator . |
static void |
ArrayUtil.sort(char[] a,
int fromIndex,
int toIndex,
CharComparator c)
Sorts the specified array of
char s, according to the specified
CharComparator . |
static void |
CollectionUtil.sort(List<?> data,
char[] order,
CharComparator comparator)
Sorts the
List in the first argument matching the sorted order of
the array in the second argument. |
static void |
ArrayUtil.sort(Object[] data,
char[] order,
CharComparator comparator)
Sorts the array in the first argument matching the sorted order of the
array in the second argument.
|
Modifier and Type | Field and Description |
---|---|
static CharComparator |
CharComparator.NATURAL
Comparator that compares two
char values numerically. |
static CharComparator |
CharComparator.REVERSE
Comparator that compares two
char values reverse numerically. |
Modifier and Type | Method and Description |
---|---|
default CharComparator |
CharComparator.reverse()
Returns a comparator that imposes the reverse ordering of this comparator.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
PrimitiveSort.sort(char[] a,
int fromIndex,
int toIndex,
CharComparator c)
Sorts the specified array of
char s, according to the provided
CharComparator . |
void |
ArrayCharList.sort(CharComparator c) |
void |
CharList.sort(CharComparator c)
Sorts the specified list according to the order induced by the specified
comparator.
|
default void |
CharList.sort(List<?> p,
CharComparator c)
Sorts the specified paired list according to the order induced by the
specified comparator applied to the values in this list.
|
void |
ArrayCharList.sort(Object[] p,
CharComparator c) |
default void |
CharList.sort(Object[] p,
CharComparator c)
Sorts this specified paired array according to the order induced by the
specified comparator applied to the values in this list.
|
protected static void |
PrimitiveSort.sortPaired(Object[] data,
char[] order,
int fromIndex,
int toIndex,
CharComparator comparator) |
Copyright © 2020 LibJ. All rights reserved.