Modifier and Type
Method and Description
static <T> List<T>
asList
Returns a fixed-size list backed by the specified array.
static int
binarySearch
Searches the specified array of bytes for the specified value using the
binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of bytes for the specified value using the
binary search algorithm.
static int
binarySearch
Searches the specified array of chars for the specified value using the
binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of chars for the specified value using the
binary search algorithm.
static int
binarySearch
Searches the specified array of doubles for the specified value using
the binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of doubles for the specified value using
the binary search algorithm.
static int
binarySearch
Searches the specified array of floats for the specified value using
the binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of floats for the specified value using
the binary search algorithm.
static int
binarySearch
Searches the specified array of ints for the specified value using the
binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of ints for the specified value using the
binary search algorithm.
static int
binarySearch
Searches a range of
the specified array of longs for the specified value using the
binary search algorithm.
static int
binarySearch
Searches the specified array of longs for the specified value using the
binary search algorithm.
static int
binarySearchObject[] a,
int fromIndex,
int toIndex,
Object key)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
static int
binarySearchObject[] a,
Object key)
Searches the specified array for the specified object using the binary
search algorithm.
static int
binarySearch
Searches a range of
the specified array of shorts for the specified value using
the binary search algorithm.
static int
binarySearch
Searches the specified array of shorts for the specified value using
the binary search algorithm.
static <T> int
binarySearchComparator<? super T> c)
Searches a range of
the specified array for the specified object using the binary
search algorithm.
static <T> int
binarySearchComparator<? super T> c)
Searches the specified array for the specified object using the binary
search algorithm.
static boolean[]
copyOf
Copies the specified array, truncating or padding with false (if necessary)
so the copy has the specified length.
static byte[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static char[]
copyOf
Copies the specified array, truncating or padding with null characters (if necessary)
so the copy has the specified length.
static double[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static float[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static int[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static long[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static short[]
copyOf
Copies the specified array, truncating or padding with zeros (if necessary)
so the copy has the specified length.
static <T> T[]
copyOf
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
static <T,U> T[]
copyOfClass<? extends T[]> newType)
Copies the specified array, truncating or padding with nulls (if necessary)
so the copy has the specified length.
static boolean[]
copyOfRange
Copies the specified range of the specified array into a new array.
static byte[]
copyOfRange
Copies the specified range of the specified array into a new array.
static char[]
copyOfRange
Copies the specified range of the specified array into a new array.
static double[]
copyOfRange
Copies the specified range of the specified array into a new array.
static float[]
copyOfRange
Copies the specified range of the specified array into a new array.
static int[]
copyOfRange
Copies the specified range of the specified array into a new array.
static long[]
copyOfRange
Copies the specified range of the specified array into a new array.
static short[]
copyOfRange
Copies the specified range of the specified array into a new array.
static <T> T[]
copyOfRange
Copies the specified range of the specified array into a new array.
static <T,U> T[]
copyOfRangeClass<? extends T[]> newType)
Copies the specified range of the specified array into a new array.
static boolean
deepEqualsObject[] a1,
Object[] a2)
Returns true if the two specified arrays are deeply
equal to one another.
static int
deepHashCodeObject[] a)
Returns a hash code based on the “deep contents” of the specified
array.
static String
deepToStringObject[] a)
Returns a string representation of the “deep contents” of the specified
array.
static boolean
equals
Returns true if the two specified arrays of booleans are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of bytes are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of chars are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of doubles are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of floats are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of ints are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of longs are
equal to one another.
static boolean
equalsObject[] a,
Object[] a2)
Returns true if the two specified arrays of Objects are
equal to one another.
static boolean
equals
Returns true if the two specified arrays of shorts are
equal to one another.
static void
fill
Assigns the specified boolean value to each element of the specified
array of booleans.
static void
fill
Assigns the specified boolean value to each element of the specified
range of the specified array of booleans.
static void
fill
Assigns the specified byte value to each element of the specified array
of bytes.
static void
fill
Assigns the specified byte value to each element of the specified
range of the specified array of bytes.
static void
fill
Assigns the specified char value to each element of the specified array
of chars.
static void
fill
Assigns the specified char value to each element of the specified
range of the specified array of chars.
static void
fill
Assigns the specified double value to each element of the specified
array of doubles.
static void
fill
Assigns the specified double value to each element of the specified
range of the specified array of doubles.
static void
fill
Assigns the specified float value to each element of the specified array
of floats.
static void
fill
Assigns the specified float value to each element of the specified
range of the specified array of floats.
static void
fill
Assigns the specified int value to each element of the specified array
of ints.
static void
fill
Assigns the specified int value to each element of the specified
range of the specified array of ints.
static void
fill
Assigns the specified long value to each element of the specified
range of the specified array of longs.
static void
fill
Assigns the specified long value to each element of the specified array
of longs.
static void
fillObject[] a,
int fromIndex,
int toIndex,
Object val)
Assigns the specified Object reference to each element of the specified
range of the specified array of Objects.
static void
fillObject[] a,
Object val)
Assigns the specified Object reference to each element of the specified
array of Objects.
static void
fill
Assigns the specified short value to each element of the specified
range of the specified array of shorts.
static void
fill
Assigns the specified short value to each element of the specified array
of shorts.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static int
hashCodeObject[] a)
Returns a hash code based on the contents of the specified array.
static int
hashCode
Returns a hash code based on the contents of the specified array.
static void
parallelPrefixDoubleBinaryOperator op)
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
static void
parallelPrefixDoubleBinaryOperator op)
Performs parallelPrefix(double[], DoubleBinaryOperator)
for the given subrange of the array.
static void
parallelPrefixIntBinaryOperator op)
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
static void
parallelPrefixIntBinaryOperator op)
Performs parallelPrefix(int[], IntBinaryOperator)
for the given subrange of the array.
static void
parallelPrefixLongBinaryOperator op)
Performs parallelPrefix(long[], LongBinaryOperator)
for the given subrange of the array.
static void
parallelPrefixLongBinaryOperator op)
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
static <T> void
parallelPrefixBinaryOperator<T> op)
Cumulates, in parallel, each element of the given array in place,
using the supplied function.
static <T> void
parallelPrefixBinaryOperator<T> op)
Performs parallelPrefix(Object[], BinaryOperator)
for the given subrange of the array.
static void
parallelSetAllIntToDoubleFunction generator)
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
static void
parallelSetAllIntUnaryOperator generator)
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
static void
parallelSetAllIntToLongFunction generator)
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
static <T> void
parallelSetAllIntFunction<? extends T> generator)
Set all elements of the specified array, in parallel, using the
provided generator function to compute each element.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static void
parallelSort
Sorts the specified array into ascending numerical order.
static void
parallelSort
Sorts the specified range of the array into ascending numerical order.
static <T extends Comparable<? super T>>
void
parallelSort
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.
static <T> void
parallelSortComparator<? super T> cmp)
Sorts the specified array of objects according to the order induced by
the specified comparator.
static <T extends Comparable<? super T>>
void
parallelSort
Sorts the specified range of the specified array of objects into ascending order, according to the natural ordering of its elements.
static <T> void
parallelSortComparator<? super T> cmp)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
static void
setAllIntToDoubleFunction generator)
Set all elements of the specified array, using the provided
generator function to compute each element.
static void
setAllIntUnaryOperator generator)
Set all elements of the specified array, using the provided
generator function to compute each element.
static void
setAllIntToLongFunction generator)
Set all elements of the specified array, using the provided
generator function to compute each element.
static <T> void
setAllIntFunction<? extends T> generator)
Set all elements of the specified array, using the provided
generator function to compute each element.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static void
sortObject[] a)
Sorts the specified array of objects into ascending order, according to the natural ordering of its elements.
static void
sortObject[] a,
int fromIndex,
int toIndex)
Sorts the specified range of the specified array of objects into ascending order, according to the natural ordering of its elements.
static void
sort
Sorts the specified array into ascending numerical order.
static void
sort
Sorts the specified range of the array into ascending order.
static <T> void
sortComparator<? super T> c)
Sorts the specified array of objects according to the order induced by
the specified comparator.
static <T> void
sortComparator<? super T> c)
Sorts the specified range of the specified array of objects according
to the order induced by the specified comparator.
static Spliterator.OfDouble
spliterator
Returns a Spliterator.OfDouble
covering all of the specified array.
static Spliterator.OfDouble
spliterator
Returns a Spliterator.OfDouble
covering the specified range of the specified array.
static Spliterator.OfInt
spliterator
Returns a Spliterator.OfInt
covering all of the specified array.
static Spliterator.OfInt
spliterator
Returns a Spliterator.OfInt
covering the specified range of the specified array.
static Spliterator.OfLong
spliterator
Returns a Spliterator.OfLong
covering all of the specified array.
static Spliterator.OfLong
spliterator
Returns a Spliterator.OfLong
covering the specified range of the specified array.
static <T> Spliterator<T>
spliterator
Returns a Spliterator
covering all of the specified array.
static <T> Spliterator<T>
spliterator
Returns a Spliterator
covering the specified range of the specified array.
static DoubleStream
stream
Returns a sequential DoubleStream
with the specified array as its source.
static DoubleStream
stream
Returns a sequential DoubleStream
with the specified range of the specified array as its source.
static IntStream
stream
Returns a sequential IntStream
with the specified array as its source.
static IntStream
stream
Returns a sequential IntStream
with the specified range of the specified array as its source.
static LongStream
stream
Returns a sequential LongStream
with the specified array as its source.
static LongStream
stream
Returns a sequential LongStream
with the specified range of the specified array as its source.
static <T> Stream<T>
stream
Returns a sequential Stream
with the specified array as its source.
static <T> Stream<T>
stream
Returns a sequential Stream
with the specified range of the specified array as its source.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.
static String
toStringObject[] a)
Returns a string representation of the contents of the specified array.
static String
toString
Returns a string representation of the contents of the specified array.