public final class ArrayUtils
extends org.apache.commons.lang3.ArrayUtils
EMPTY_BOOLEAN_ARRAY, EMPTY_BOOLEAN_OBJECT_ARRAY, EMPTY_BYTE_ARRAY, EMPTY_BYTE_OBJECT_ARRAY, EMPTY_CHAR_ARRAY, EMPTY_CHARACTER_OBJECT_ARRAY, EMPTY_CLASS_ARRAY, EMPTY_DOUBLE_ARRAY, EMPTY_DOUBLE_OBJECT_ARRAY, EMPTY_FIELD_ARRAY, EMPTY_FLOAT_ARRAY, EMPTY_FLOAT_OBJECT_ARRAY, EMPTY_INT_ARRAY, EMPTY_INTEGER_OBJECT_ARRAY, EMPTY_LONG_ARRAY, EMPTY_LONG_OBJECT_ARRAY, EMPTY_METHOD_ARRAY, EMPTY_OBJECT_ARRAY, EMPTY_SHORT_ARRAY, EMPTY_SHORT_OBJECT_ARRAY, EMPTY_STRING_ARRAY, EMPTY_THROWABLE_ARRAY, EMPTY_TYPE_ARRAY, INDEX_NOT_FOUND| 构造器和说明 |
|---|
ArrayUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
allLength(String... strs)
所有元素的长度总和
|
static boolean[] |
deduplicate(@NonNull boolean[] array)
去重
|
static byte[] |
deduplicate(@NonNull byte[] array)
去重
|
static char[] |
deduplicate(@NonNull char[] array)
去重
|
static double[] |
deduplicate(@NonNull double[] array)
去重
|
static float[] |
deduplicate(@NonNull float[] array)
去重
|
static int[] |
deduplicate(@NonNull int[] array)
去重
|
static long[] |
deduplicate(@NonNull long[] array)
去重
|
static short[] |
deduplicate(@NonNull short[] array)
去重
|
static <T> T[] |
deduplicate(T[] array)
去重
|
static boolean[] |
deduplicateHashSort(@NonNull boolean[] array)
去重
|
static byte[] |
deduplicateHashSort(@NonNull byte[] array)
去重
|
static char[] |
deduplicateHashSort(@NonNull char[] array)
去重
|
static double[] |
deduplicateHashSort(@NonNull double[] array)
去重
|
static float[] |
deduplicateHashSort(@NonNull float[] array)
去重
|
static int[] |
deduplicateHashSort(@NonNull int[] array)
去重
|
static long[] |
deduplicateHashSort(@NonNull long[] array)
去重
|
static Object |
deduplicateHashSort(@NonNull Object array)
去重
|
static short[] |
deduplicateHashSort(@NonNull short[] array)
去重
|
static <T> T[] |
deduplicateHashSort(T[] array)
去重
|
static boolean[] |
deduplicatePreceding(@NonNull boolean[] array)
去重
|
static byte[] |
deduplicatePreceding(@NonNull byte[] array)
去重
|
static char[] |
deduplicatePreceding(@NonNull char[] array)
去重
|
static double[] |
deduplicatePreceding(@NonNull double[] array)
去重
|
static float[] |
deduplicatePreceding(@NonNull float[] array)
去重
|
static int[] |
deduplicatePreceding(@NonNull int[] array)
去重
|
static long[] |
deduplicatePreceding(@NonNull long[] array)
去重
|
static Object |
deduplicatePreceding(@NonNull Object array)
去重
|
static short[] |
deduplicatePreceding(@NonNull short[] array)
去重
|
static <T> T[] |
deduplicatePreceding(T[] array)
去重
|
static boolean[] |
deduplicateReverse(@NonNull boolean[] array)
去重
|
static byte[] |
deduplicateReverse(@NonNull byte[] array)
去重
|
static char[] |
deduplicateReverse(@NonNull char[] array)
去重
|
static double[] |
deduplicateReverse(@NonNull double[] array)
去重
|
static float[] |
deduplicateReverse(@NonNull float[] array)
去重
|
static int[] |
deduplicateReverse(@NonNull int[] array)
去重
|
static long[] |
deduplicateReverse(@NonNull long[] array)
去重
|
static Object |
deduplicateReverse(@NonNull Object array)
去重
|
static short[] |
deduplicateReverse(@NonNull short[] array)
去重
|
static <T> T[] |
deduplicateReverse(T[] array)
去重
|
static boolean[] |
fill(@NonNull boolean[] array,
int fromIndex,
int toIndex,
boolean value)
填充,结束下标超出数组长度时,超出部分也填充
|
static byte[] |
fill(@NonNull byte[] array,
int fromIndex,
int toIndex,
byte value)
填充,结束下标超出数组长度时,超出部分也填充
|
static char[] |
fill(@NonNull char[] array,
int fromIndex,
int toIndex,
char value)
填充,结束下标超出数组长度时,超出部分也填充
|
static double[] |
fill(@NonNull double[] array,
int fromIndex,
int toIndex,
double value)
填充,结束下标超出数组长度时,超出部分也填充
|
static float[] |
fill(@NonNull float[] array,
int fromIndex,
int toIndex,
float value)
填充,结束下标超出数组长度时,超出部分也填充
|
static int[] |
fill(@NonNull int[] array,
int fromIndex,
int toIndex,
int value)
填充,结束下标超出数组长度时,超出部分也填充
|
static long[] |
fill(@NonNull long[] array,
int fromIndex,
int toIndex,
long value)
填充,结束下标超出数组长度时,超出部分也填充
|
static short[] |
fill(@NonNull short[] array,
int fromIndex,
int toIndex,
short value)
填充,结束下标超出数组长度时,超出部分也填充
|
static <T> T[] |
fill(T[] array,
int fromIndex,
int toIndex,
T value)
填充,结束下标超出数组长度时,超出部分也填充
|
static int |
indexOf(@NonNull char[] array,
@NonNull String valueToFind)
查找数组中指定的字符串
|
static int |
indexOf(@NonNull char[] array,
@NonNull String valueToFind,
int startIndex)
从指定索引开始查找数组中指定的字符串
|
static boolean[] |
moveForward(@NonNull boolean[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static byte[] |
moveForward(@NonNull byte[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static char[] |
moveForward(@NonNull char[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static double[] |
moveForward(@NonNull double[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static float[] |
moveForward(@NonNull float[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static int[] |
moveForward(@NonNull int[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static long[] |
moveForward(@NonNull long[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static short[] |
moveForward(@NonNull short[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static <T> T[] |
moveForward(T[] array,
int startIndex,
int length)
从指定下标开始,将后面的元素往前复制指定位数
|
static boolean[] |
remove(@NonNull boolean[] array,
int index,
boolean lastElementValue)
删除指定下标的元素
|
static byte[] |
remove(@NonNull byte[] array,
int index,
byte lastElementValue)
删除指定下标的元素
|
static char[] |
remove(@NonNull char[] array,
int index,
char lastElementValue)
删除指定下标的元素
|
static double[] |
remove(@NonNull double[] array,
int index,
double lastElementValue)
删除指定下标的元素
|
static float[] |
remove(@NonNull float[] array,
int index,
float lastElementValue)
删除指定下标的元素
|
static int[] |
remove(@NonNull int[] array,
int index,
int lastElementValue)
删除指定下标的元素
|
static long[] |
remove(@NonNull long[] array,
int index,
long lastElementValue)
删除指定下标的元素
|
static short[] |
remove(@NonNull short[] array,
int index,
short lastElementValue)
删除指定下标的元素
|
static <T> T[] |
remove(T[] array,
int index,
T lastElementValue)
删除指定下标的元素
|
static boolean[] |
removeAllElements(@NonNull boolean[] array,
boolean... values)
删除所有匹配项
|
static byte[] |
removeAllElements(@NonNull byte[] array,
byte... values)
删除所有匹配项
|
static char[] |
removeAllElements(@NonNull char[] array,
char... values)
删除所有匹配项
|
static double[] |
removeAllElements(@NonNull double[] array,
double... values)
删除所有匹配项
|
static float[] |
removeAllElements(@NonNull float[] array,
float... values)
删除所有匹配项
|
static int[] |
removeAllElements(@NonNull int[] array,
int... values)
删除所有匹配项
|
static long[] |
removeAllElements(@NonNull long[] array,
long... values)
删除所有匹配项
|
static short[] |
removeAllElements(@NonNull short[] array,
short... values)
删除所有匹配项
|
static <T> T[] |
removeAllElements(T[] array,
T... values)
删除所有匹配项
|
static byte[] |
toBytes(@NonNull char[] chars)
字符数组转换为 UTF-8 字符集的字节数组
|
static byte[] |
toBytes(@NonNull char[] chars,
@NonNull Charset charsets)
字符数组转换为指定字符集的字节数组
|
static byte[] |
toBytes(@NonNull char[] chars,
@NonNull String charsetName)
字符数组转换为指定字符集的字节数组
|
static char[] |
toChars(@NonNull byte[] bytes)
字节数组转换为 UTF-8 字符集的字符数组
|
static char[] |
toChars(@NonNull byte[] bytes,
@NonNull Charset charsets)
字节数组转换为指定字符集的字符数组
|
static char[] |
toChars(@NonNull byte[] bytes,
@NonNull String charsetName)
字节数组转换为指定字符集的字符数组
|
static String |
toString(@NonNull byte[] bytes)
字节数组转换为 UTF-8 字符集的字符串
|
static String |
toString(@NonNull byte[] bytes,
@NonNull Charset charsets)
字节数组转换为指定字符集的字符串
|
static String |
toString(@NonNull byte[] bytes,
@NonNull String charsetName)
字节数组转换为指定字符集的字符串
|
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, clone, clone, clone, clone, clone, clone, clone, clone, clone, contains, contains, contains, contains, contains, contains, contains, contains, contains, contains, get, get, getLength, hashCode, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexesOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, insert, insert, insert, insert, insert, insert, insert, insert, insert, isArrayIndexValid, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEquals, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameType, isSorted, isSorted, isSorted, isSorted, isSorted, isSorted, isSorted, isSorted, isSorted, isSorted, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeAll, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeAllOccurrences, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElements, removeElements, removeElements, removeElements, removeElements, removeElements, removeElements, removeElements, removeElements, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, shuffle, subarray, subarray, subarray, subarray, subarray, subarray, subarray, subarray, subarray, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, swap, toArray, toMap, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, toString, toStringArray, toStringArraypublic static byte[] toBytes(@NonNull
@NonNull char[] chars,
@NonNull
@NonNull Charset charsets)
chars - 字符数组charsets - 字符集public static byte[] toBytes(@NonNull
@NonNull char[] chars,
@NonNull
@NonNull String charsetName)
chars - 字符数组charsetName - 字符集public static byte[] toBytes(@NonNull
@NonNull char[] chars)
chars - 字符数组public static String toString(@NonNull @NonNull byte[] bytes, @NonNull @NonNull Charset charsets)
bytes - 字节数组charsets - 字符集public static String toString(@NonNull @NonNull byte[] bytes, @NonNull @NonNull String charsetName)
bytes - 字节数组charsetName - 字符集public static String toString(@NonNull @NonNull byte[] bytes)
bytes - 字节数组public static char[] toChars(@NonNull
@NonNull byte[] bytes,
@NonNull
@NonNull Charset charsets)
bytes - 字节数组charsets - 字符集public static char[] toChars(@NonNull
@NonNull byte[] bytes,
@NonNull
@NonNull String charsetName)
bytes - 字节数组charsetName - 字符集public static char[] toChars(@NonNull
@NonNull byte[] bytes)
bytes - 字节数组public static boolean[] moveForward(@NonNull
@NonNull boolean[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static byte[] moveForward(@NonNull
@NonNull byte[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static char[] moveForward(@NonNull
@NonNull char[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static short[] moveForward(@NonNull
@NonNull short[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static int[] moveForward(@NonNull
@NonNull int[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static long[] moveForward(@NonNull
@NonNull long[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static float[] moveForward(@NonNull
@NonNull float[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static double[] moveForward(@NonNull
@NonNull double[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static <T> T[] moveForward(@NonNull
T[] array,
int startIndex,
int length)
array - 数组startIndex - 开始下标length - 位数public static boolean[] remove(@NonNull
@NonNull boolean[] array,
int index,
boolean lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static byte[] remove(@NonNull
@NonNull byte[] array,
int index,
byte lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static char[] remove(@NonNull
@NonNull char[] array,
int index,
char lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static short[] remove(@NonNull
@NonNull short[] array,
int index,
short lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static int[] remove(@NonNull
@NonNull int[] array,
int index,
int lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static long[] remove(@NonNull
@NonNull long[] array,
int index,
long lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static float[] remove(@NonNull
@NonNull float[] array,
int index,
float lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static double[] remove(@NonNull
@NonNull double[] array,
int index,
double lastElementValue)
array - 数组index - 下标lastElementValue - 最后一个元素的值public static <T> T[] remove(@NonNull
T[] array,
int index,
@NonNull
T lastElementValue)
T - 数组类型array - 数组index - 下标lastElementValue - 最后一个元素的值public static boolean[] fill(@NonNull
@NonNull boolean[] array,
int fromIndex,
int toIndex,
boolean value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static byte[] fill(@NonNull
@NonNull byte[] array,
int fromIndex,
int toIndex,
byte value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static char[] fill(@NonNull
@NonNull char[] array,
int fromIndex,
int toIndex,
char value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static short[] fill(@NonNull
@NonNull short[] array,
int fromIndex,
int toIndex,
short value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static int[] fill(@NonNull
@NonNull int[] array,
int fromIndex,
int toIndex,
int value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static long[] fill(@NonNull
@NonNull long[] array,
int fromIndex,
int toIndex,
long value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static float[] fill(@NonNull
@NonNull float[] array,
int fromIndex,
int toIndex,
float value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static double[] fill(@NonNull
@NonNull double[] array,
int fromIndex,
int toIndex,
double value)
array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static <T> T[] fill(@NonNull
T[] array,
int fromIndex,
int toIndex,
T value)
T - 数组类型array - 数组fromIndex - 开始下标toIndex - 结束下标value - 填充值public static boolean[] removeAllElements(@NonNull
@NonNull boolean[] array,
@NonNull
boolean... values)
array - 数组values - 需要删除的内容public static byte[] removeAllElements(@NonNull
@NonNull byte[] array,
@NonNull
byte... values)
array - 数组values - 需要删除的内容public static char[] removeAllElements(@NonNull
@NonNull char[] array,
@NonNull
char... values)
array - 数组values - 需要删除的内容public static short[] removeAllElements(@NonNull
@NonNull short[] array,
@NonNull
short... values)
array - 数组values - 需要删除的内容public static int[] removeAllElements(@NonNull
@NonNull int[] array,
@NonNull
int... values)
array - 数组values - 需要删除的内容public static long[] removeAllElements(@NonNull
@NonNull long[] array,
@NonNull
long... values)
array - 数组values - 需要删除的内容public static float[] removeAllElements(@NonNull
@NonNull float[] array,
@NonNull
float... values)
array - 数组values - 需要删除的内容public static double[] removeAllElements(@NonNull
@NonNull double[] array,
@NonNull
double... values)
array - 数组values - 需要删除的内容public static <T> T[] removeAllElements(@NonNull
T[] array,
@NonNull
T... values)
T - 数组类型array - 数组values - 需要删除的内容public static int indexOf(@NonNull
@NonNull char[] array,
@NonNull
@NonNull String valueToFind,
int startIndex)
array - 字符数组valueToFind - 要查找的字符串startIndex - 开始查找的索引public static int indexOf(@NonNull
@NonNull char[] array,
@NonNull
@NonNull String valueToFind)
array - 字符数组valueToFind - 要查找的字符串public static int allLength(@NonNull
String... strs)
strs - 字符串数组public static boolean[] deduplicate(@NonNull
@NonNull boolean[] array)
array - 数组public static byte[] deduplicate(@NonNull
@NonNull byte[] array)
array - 数组public static char[] deduplicate(@NonNull
@NonNull char[] array)
array - 数组public static short[] deduplicate(@NonNull
@NonNull short[] array)
array - 数组public static int[] deduplicate(@NonNull
@NonNull int[] array)
array - 数组public static long[] deduplicate(@NonNull
@NonNull long[] array)
array - 数组public static float[] deduplicate(@NonNull
@NonNull float[] array)
array - 数组public static double[] deduplicate(@NonNull
@NonNull double[] array)
array - 数组public static <T> T[] deduplicate(@NonNull
T[] array)
T - 数组元素类型array - 数组public static Object deduplicatePreceding(@NonNull @NonNull Object array)
array - 数组public static boolean[] deduplicatePreceding(@NonNull
@NonNull boolean[] array)
array - 数组public static byte[] deduplicatePreceding(@NonNull
@NonNull byte[] array)
array - 数组public static char[] deduplicatePreceding(@NonNull
@NonNull char[] array)
array - 数组public static short[] deduplicatePreceding(@NonNull
@NonNull short[] array)
array - 数组public static int[] deduplicatePreceding(@NonNull
@NonNull int[] array)
array - 数组public static long[] deduplicatePreceding(@NonNull
@NonNull long[] array)
array - 数组public static float[] deduplicatePreceding(@NonNull
@NonNull float[] array)
array - 数组public static double[] deduplicatePreceding(@NonNull
@NonNull double[] array)
array - 数组public static <T> T[] deduplicatePreceding(@NonNull
T[] array)
T - 数组元素类型array - 数组public static Object deduplicateReverse(@NonNull @NonNull Object array)
array - 数组public static boolean[] deduplicateReverse(@NonNull
@NonNull boolean[] array)
array - 数组public static byte[] deduplicateReverse(@NonNull
@NonNull byte[] array)
array - 数组public static char[] deduplicateReverse(@NonNull
@NonNull char[] array)
array - 数组public static short[] deduplicateReverse(@NonNull
@NonNull short[] array)
array - 数组public static int[] deduplicateReverse(@NonNull
@NonNull int[] array)
array - 数组public static long[] deduplicateReverse(@NonNull
@NonNull long[] array)
array - 数组public static float[] deduplicateReverse(@NonNull
@NonNull float[] array)
array - 数组public static double[] deduplicateReverse(@NonNull
@NonNull double[] array)
array - 数组public static <T> T[] deduplicateReverse(@NonNull
T[] array)
T - 数组元素类型array - 数组public static Object deduplicateHashSort(@NonNull @NonNull Object array)
array - 数组public static boolean[] deduplicateHashSort(@NonNull
@NonNull boolean[] array)
array - 数组public static byte[] deduplicateHashSort(@NonNull
@NonNull byte[] array)
array - 数组public static char[] deduplicateHashSort(@NonNull
@NonNull char[] array)
array - 数组public static short[] deduplicateHashSort(@NonNull
@NonNull short[] array)
array - 数组public static int[] deduplicateHashSort(@NonNull
@NonNull int[] array)
array - 数组public static long[] deduplicateHashSort(@NonNull
@NonNull long[] array)
array - 数组public static float[] deduplicateHashSort(@NonNull
@NonNull float[] array)
array - 数组public static double[] deduplicateHashSort(@NonNull
@NonNull double[] array)
array - 数组public static <T> T[] deduplicateHashSort(@NonNull
T[] array)
T - 数组元素类型array - 数组Copyright © 2022. All rights reserved.