/**
* This file is auto generated from JavaDoc. Do not modify it manually.
*/
import type { Object } from "../../types/java/lang/Object";
import type { Comparator } from "../../types/java/util/Comparator";
import type { Class } from "../../types/java/lang/Class";
import type { List } from "../../types/java/util/List";
import type { String } from "../../types/java/lang/String";
import type { BinaryOperator } from "../../types/java/util/function/BinaryOperator";
import type { LongBinaryOperator } from "../../types/java/util/function/LongBinaryOperator";
import type { DoubleBinaryOperator } from "../../types/java/util/function/DoubleBinaryOperator";
import type { IntBinaryOperator } from "../../types/java/util/function/IntBinaryOperator";
import type { IntFunction } from "../../types/java/util/function/IntFunction";
import type { IntUnaryOperator } from "../../types/java/util/function/IntUnaryOperator";
import type { IntToLongFunction } from "../../types/java/util/function/IntToLongFunction";
import type { IntToDoubleFunction } from "../../types/java/util/function/IntToDoubleFunction";
import type { Spliterator } from "../../types/java/util/Spliterator";
import type { OfInt } from "../../types/java/util/Spliterator.OfInt";
import type { OfLong } from "../../types/java/util/Spliterator.OfLong";
import type { OfDouble } from "../../types/java/util/Spliterator.OfDouble";
import type { Stream } from "../../types/java/util/stream/Stream";
import type { IntStream } from "../../types/java/util/stream/IntStream";
import type { LongStream } from "../../types/java/util/stream/LongStream";
import type { DoubleStream } from "../../types/java/util/stream/DoubleStream";
/**
* Instance wrapper for the java.util.Arrays class that delegates all method calls to the corresponding Arrays method.
*
*
*
* Note! Method documentations in this interface are only excerpts. For full documentation, see official java.util.Arrays Javadoc.
*
*
* * Tip! You would typically use {@link InstanceCreatorUtil} to create array instances. * *
* *
* An instance of the Sitevision class implementing this interface can be obtained via {@link InstanceCreatorUtil#getArraysInstance()}.
* See {@link InstanceCreatorUtil} for how to obtain an instance of the InstanceCreatorUtil interface.
*
Comparable natural ordering of its elements.
* @param anArray the array to be sorted
* @throws ClassCastException if the array contains elements that are not mutually comparable (for example, strings and integers).
*/
sort(anArray: unknown[]): void;
/**
* Sorts the specified range of the specified array of objects into ascending order, according to the Comparable
* natural ordering of its elements.
* @param anArray the array to be sorted
* @param aFromIndex the index of the first element (inclusive) to be sorted
* @param aToIndex the index of the last element (exclusive) to be sorted
* @throws IllegalArgumentException if aFromIndex > aToIndex
* @throws ArrayIndexOutOfBoundsException if aFromIndex < 0 or
aToIndex > anArray.length
* @throws ClassCastException if the array contains elements that are not mutually comparable
(for example, strings and integers).
*/
sort(anArray: unknown[], aFromIndex: number, aToIndex: number): void;
/**
* Sorts the specified array of objects according to the order induced by the specified comparator.
* @param The spliterator reports {@link Spliterator#SIZED},
* {@link Spliterator#SUBSIZED}, {@link Spliterator#ORDERED}, and
* {@link Spliterator#IMMUTABLE}.
* @param array the array, assumed to be unmodified during use
* @return the spliterator for the array elements
* @since Sitevision 4.0
* @since Java 1.8
*/
spliterator(array: number[]): OfLong;
/**
* Returns a {@link Spliterator.OfLong} covering the specified range of the specified array.
* @param array the array, assumed to be unmodified during use
* @param startInclusive the first index to cover, inclusive
* @param endExclusive index immediately past the last index to cover
* @return a spliterator for the array elements
* @throws ArrayIndexOutOfBoundsException if {@code startInclusive} is
negative, {@code endExclusive} is less than
{@code startInclusive}, or {@code endExclusive} is greater than
the array size
* @since Sitevision 4.0
* @since Java 1.8
*/
spliterator(
array: number[],
startInclusive: number,
endExclusive: number
): OfLong;
/**
* Returns a {@link Spliterator.OfDouble} covering all of the specified array.
* @param array the array, assumed to be unmodified during use
* @return a spliterator for the array elements
* @since Sitevision 4.0
* @since Java 1.8
*/
spliterator(array: number[]): OfDouble;
/**
* Returns a {@link Spliterator.OfDouble} covering the specified range of the specified array.
* @param array the array, assumed to be unmodified during use
* @param startInclusive the first index to cover, inclusive
* @param endExclusive index immediately past the last index to cover
* @return a spliterator for the array elements
* @throws ArrayIndexOutOfBoundsException if {@code startInclusive} is
negative, {@code endExclusive} is less than
{@code startInclusive}, or {@code endExclusive} is greater than
the array size
* @since Sitevision 4.0
* @since Java 1.8
*/
spliterator(
array: number[],
startInclusive: number,
endExclusive: number
): OfDouble;
/**
* Returns a sequential {@link Stream} with the specified array as its source.
* @param