Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module : java.base - Package : java.util
Version documentée : Java SE 17

Classe « Arrays »

Informations générales

Héritage

java.lang.Object
    java.util.Arrays

Définition

public class Arrays extends java.lang.Object

Description

A venir.

Liste des attributs

Tous les attributs Attributs d'instance Attributs statiques Attributs dépréciés
QualificateursTypeNomDescription

Liste des constructeurs

Constructeurs Constructeurs dépréciés
ConstructeurDescription

Liste des propriétés (getters/setters)

Propriétés Propriétés dépréciées
QualificateursTypeNomR/W

Propriétés héritées de la classe java.lang.Object

class

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes concrètes Méthodes abstraites Méthodes dépréciées
QualificateursType de retourPrototype de la méthodeDescription
public static <T> List<T> asList( T[] arg0 )
public static int binarySearch( Object[] a, Object key )
public static int binarySearch( float[] a, int fromIndex, int toIndex, float key )
public static int binarySearch( double[] a, int fromIndex, int toIndex, double key )
public static int binarySearch( float[] a, float key )
public static <T> int binarySearch( T[] a, int fromIndex, int toIndex, T key, Comparator<? super T> c )
public static <T> int binarySearch( T[] a, T key, Comparator<? super T> c )
public static int binarySearch( Object[] a, int fromIndex, int toIndex, Object key )
public static int binarySearch( long[] a, long key )
public static int binarySearch( long[] a, int fromIndex, int toIndex, long key )
public static int binarySearch( short[] a, int fromIndex, int toIndex, short key )
public static int binarySearch( int[] a, int key )
public static int binarySearch( short[] a, short key )
public static int binarySearch( int[] a, int fromIndex, int toIndex, int key )
public static int binarySearch( double[] a, double key )
public static int binarySearch( byte[] a, int fromIndex, int toIndex, byte key )
public static int binarySearch( byte[] a, byte key )
public static int binarySearch( char[] a, char key )
public static int binarySearch( char[] a, int fromIndex, int toIndex, char key )
public static int compare( boolean[] a, int aFromIndex, int aToIndex, boolean[] b, int bFromIndex, int bToIndex )
public static int compare( byte[] a, byte[] b )
public static int compare( byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex )
public static int compare( boolean[] a, boolean[] b )
public static <T> int compare( T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp )
public static int compare( double[] a, int aFromIndex, int aToIndex, double[] b, int bFromIndex, int bToIndex )
public static <T> int compare( T[] a, T[] b )
public static <T> int compare( T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex )
public static int compare( int[] a, int aFromIndex, int aToIndex, int[] b, int bFromIndex, int bToIndex )
public static <T> int compare( T[] a, T[] b, Comparator<? super T> cmp )
public static int compare( int[] a, int[] b )
public static int compare( long[] a, long[] b )
public static int compare( long[] a, int aFromIndex, int aToIndex, long[] b, int bFromIndex, int bToIndex )
public static int compare( float[] a, float[] b )
public static int compare( float[] a, int aFromIndex, int aToIndex, float[] b, int bFromIndex, int bToIndex )
public static int compare( double[] a, double[] b )
public static int compare( char[] a, int aFromIndex, int aToIndex, char[] b, int bFromIndex, int bToIndex )
public static int compare( char[] a, char[] b )
public static int compare( short[] a, int aFromIndex, int aToIndex, short[] b, int bFromIndex, int bToIndex )
public static int compare( short[] a, short[] b )
public static int compareUnsigned( short[] a, short[] b )
public static int compareUnsigned( byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex )
public static int compareUnsigned( byte[] a, byte[] b )
public static int compareUnsigned( long[] a, long[] b )
public static int compareUnsigned( int[] a, int aFromIndex, int aToIndex, int[] b, int bFromIndex, int bToIndex )
public static int compareUnsigned( long[] a, int aFromIndex, int aToIndex, long[] b, int bFromIndex, int bToIndex )
public static int compareUnsigned( short[] a, int aFromIndex, int aToIndex, short[] b, int bFromIndex, int bToIndex )
public static int compareUnsigned( int[] a, int[] b )
public static int[] copyOf( int[] original, int newLength )
public static <T, U> T[] copyOf( U[] original, int newLength, Class<? extends T[]> newType )
public static byte[] copyOf( byte[] original, int newLength )
public static float[] copyOf( float[] original, int newLength )
public static long[] copyOf( long[] original, int newLength )
public static char[] copyOf( char[] original, int newLength )
public static boolean[] copyOf( boolean[] original, int newLength )
public static double[] copyOf( double[] original, int newLength )
public static <T> T[] copyOf( T[] original, int newLength )
public static short[] copyOf( short[] original, int newLength )
public static float[] copyOfRange( float[] original, int from, int to )
public static char[] copyOfRange( char[] original, int from, int to )
public static long[] copyOfRange( long[] original, int from, int to )
public static double[] copyOfRange( double[] original, int from, int to )
public static boolean[] copyOfRange( boolean[] original, int from, int to )
public static <T> T[] copyOfRange( T[] arg0, int arg1, int arg2 )
public static <T, U> T[] copyOfRange( U[] original, int from, int to, Class<? extends T[]> newType )
public static byte[] copyOfRange( byte[] original, int from, int to )
public static int[] copyOfRange( int[] original, int from, int to )
public static short[] copyOfRange( short[] original, int from, int to )
public static boolean deepEquals( Object[] a1, Object[] a2 )
public static int deepHashCode( Object[] a )
public static String deepToString( Object[] a )
public static boolean equals( float[] a, float[] a2 )
public static boolean equals( double[] a, int aFromIndex, int aToIndex, double[] b, int bFromIndex, int bToIndex )
public static boolean equals( double[] a, double[] a2 )
public static boolean equals( boolean[] a, int aFromIndex, int aToIndex, boolean[] b, int bFromIndex, int bToIndex )
public static boolean equals( boolean[] a, boolean[] a2 )
public static <T> boolean equals( T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp )
public static <T> boolean equals( T[] a, T[] a2, Comparator<? super T> cmp )
public static boolean equals( Object[] a, int aFromIndex, int aToIndex, Object[] b, int bFromIndex, int bToIndex )
public static boolean equals( Object[] a, Object[] a2 )
public static boolean equals( float[] a, int aFromIndex, int aToIndex, float[] b, int bFromIndex, int bToIndex )
public static boolean equals( short[] a, short[] a2 )
public static boolean equals( int[] a, int aFromIndex, int aToIndex, int[] b, int bFromIndex, int bToIndex )
public static boolean equals( int[] a, int[] a2 )
public static boolean equals( long[] a, int aFromIndex, int aToIndex, long[] b, int bFromIndex, int bToIndex )
public static boolean equals( long[] a, long[] a2 )
public static boolean equals( byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex )
public static boolean equals( byte[] a, byte[] a2 )
public static boolean equals( char[] a, int aFromIndex, int aToIndex, char[] b, int bFromIndex, int bToIndex )
public static boolean equals( char[] a, char[] a2 )
public static boolean equals( short[] a, int aFromIndex, int aToIndex, short[] b, int bFromIndex, int bToIndex )
public static void fill( short[] a, int fromIndex, int toIndex, short val )
public static void fill( char[] a, char val )
public static void fill( char[] a, int fromIndex, int toIndex, char val )
public static void fill( byte[] a, byte val )
public static void fill( short[] a, short val )
public static void fill( int[] a, int fromIndex, int toIndex, int val )
public static void fill( Object[] a, Object val )
public static void fill( double[] a, double val )
public static void fill( double[] a, int fromIndex, int toIndex, double val )
public static void fill( float[] a, float val )
public static void fill( float[] a, int fromIndex, int toIndex, float val )
public static void fill( boolean[] a, int fromIndex, int toIndex, boolean val )
public static void fill( boolean[] a, boolean val )
public static void fill( byte[] a, int fromIndex, int toIndex, byte val )
public static void fill( Object[] a, int fromIndex, int toIndex, Object val )
public static void fill( int[] a, int val )
public static void fill( long[] a, int fromIndex, int toIndex, long val )
public static void fill( long[] a, long val )
public static int hashCode( float[] a )
public static int hashCode( byte[] a )
public static int hashCode( double[] a )
public static int hashCode( Object[] a )
public static int hashCode( boolean[] a )
public static int hashCode( long[] a )
public static int hashCode( int[] a )
public static int hashCode( short[] a )
public static int hashCode( char[] a )
public static int mismatch( short[] a, int aFromIndex, int aToIndex, short[] b, int bFromIndex, int bToIndex )
public static int mismatch( int[] a, int[] b )
public static int mismatch( boolean[] a, int aFromIndex, int aToIndex, boolean[] b, int bFromIndex, int bToIndex )
public static int mismatch( long[] a, int aFromIndex, int aToIndex, long[] b, int bFromIndex, int bToIndex )
public static int mismatch( long[] a, long[] b )
public static int mismatch( int[] a, int aFromIndex, int aToIndex, int[] b, int bFromIndex, int bToIndex )
public static int mismatch( byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex )
public static int mismatch( boolean[] a, boolean[] b )
public static int mismatch( byte[] a, byte[] b )
public static int mismatch( char[] a, char[] b )
public static int mismatch( char[] a, int aFromIndex, int aToIndex, char[] b, int bFromIndex, int bToIndex )
public static int mismatch( short[] a, short[] b )
public static int mismatch( Object[] a, Object[] b )
public static int mismatch( Object[] a, int aFromIndex, int aToIndex, Object[] b, int bFromIndex, int bToIndex )
public static <T> int mismatch( T[] a, T[] b, Comparator<? super T> cmp )
public static <T> int mismatch( T[] a, int aFromIndex, int aToIndex, T[] b, int bFromIndex, int bToIndex, Comparator<? super T> cmp )
public static int mismatch( float[] a, float[] b )
public static int mismatch( float[] a, int aFromIndex, int aToIndex, float[] b, int bFromIndex, int bToIndex )
public static int mismatch( double[] a, double[] b )
public static int mismatch( double[] a, int aFromIndex, int aToIndex, double[] b, int bFromIndex, int bToIndex )
public static void parallelPrefix( int[] array, IntBinaryOperator op )
public static void parallelPrefix( double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op )
public static void parallelPrefix( int[] array, int fromIndex, int toIndex, IntBinaryOperator op )
public static void parallelPrefix( double[] array, DoubleBinaryOperator op )
public static void parallelPrefix( long[] array, LongBinaryOperator op )
public static <T> void parallelPrefix( T[] arg0, int arg1, int arg2, BinaryOperator<T> arg3 )
public static void parallelPrefix( long[] array, int fromIndex, int toIndex, LongBinaryOperator op )
public static <T> void parallelPrefix( T[] arg0, BinaryOperator<T> arg1 )
public static void parallelSetAll( int[] array, IntUnaryOperator generator )
public static void parallelSetAll( double[] array, IntToDoubleFunction generator )
public static <T> void parallelSetAll( T[] arg0, IntFunction<? extends T> arg1 )
public static void parallelSetAll( long[] array, IntToLongFunction generator )
public static void parallelSort( double[] a )
public static void parallelSort( float[] a, int fromIndex, int toIndex )
public static void parallelSort( float[] a )
public static void parallelSort( double[] a, int fromIndex, int toIndex )
public static <T> void parallelSort( T[] a )
public static void parallelSort( short[] a, int fromIndex, int toIndex )
public static void parallelSort( int[] a )
public static void parallelSort( int[] a, int fromIndex, int toIndex )
public static void parallelSort( long[] a )
public static void parallelSort( long[] a, int fromIndex, int toIndex )
public static <T> void parallelSort( T[] a, int fromIndex, int toIndex, Comparator<? super T> cmp )
public static void parallelSort( byte[] a, int fromIndex, int toIndex )
public static void parallelSort( byte[] a )
public static <T> void parallelSort( T[] a, int fromIndex, int toIndex )
public static <T> void parallelSort( T[] a, Comparator<? super T> cmp )
public static void parallelSort( char[] a )
public static void parallelSort( char[] a, int fromIndex, int toIndex )
public static void parallelSort( short[] a )
public static void setAll( double[] array, IntToDoubleFunction generator )
public static void setAll( int[] array, IntUnaryOperator generator )
public static <T> void setAll( T[] arg0, IntFunction<? extends T> arg1 )
public static void setAll( long[] array, IntToLongFunction generator )
public static void sort( short[] a )
public static void sort( byte[] a )
public static void sort( char[] a, int fromIndex, int toIndex )
public static void sort( char[] a )
public static void sort( short[] a, int fromIndex, int toIndex )
public static void sort( long[] a, int fromIndex, int toIndex )
public static void sort( long[] a )
public static void sort( int[] a, int fromIndex, int toIndex )
public static void sort( double[] a )
public static void sort( float[] a, int fromIndex, int toIndex )
public static void sort( float[] a )
public static void sort( byte[] a, int fromIndex, int toIndex )
public static void sort( double[] a, int fromIndex, int toIndex )
public static <T> void sort( T[] a, Comparator<? super T> c )
public static void sort( Object[] a, int fromIndex, int toIndex )
public static void sort( int[] a )
public static <T> void sort( T[] a, int fromIndex, int toIndex, Comparator<? super T> c )
public static void sort( Object[] a )
public static OfInt spliterator( int[] array, int startInclusive, int endExclusive )
public static OfInt spliterator( int[] array )
public static <T> Spliterator<T> spliterator( T[] arg0, int arg1, int arg2 )
public static <T> Spliterator<T> spliterator( T[] arg0 )
public static OfDouble spliterator( double[] array, int startInclusive, int endExclusive )
public static OfDouble spliterator( double[] array )
public static OfLong spliterator( long[] array, int startInclusive, int endExclusive )
public static OfLong spliterator( long[] array )
public static LongStream stream( long[] array )
public static LongStream stream( long[] array, int startInclusive, int endExclusive )
public static IntStream stream( int[] array, int startInclusive, int endExclusive )
public static IntStream stream( int[] array )
public static DoubleStream stream( double[] array )
public static DoubleStream stream( double[] array, int startInclusive, int endExclusive )
public static <T> Stream<T> stream( T[] arg0 )
public static <T> Stream<T> stream( T[] arg0, int arg1, int arg2 )
public static String toString( Object[] a )
public static String toString( boolean[] a )
public static String toString( byte[] a )
public static String toString( char[] a )
public static String toString( short[] a )
public static String toString( int[] a )
public static String toString( long[] a )
public static String toString( double[] a )
public static String toString( float[] a )

Méthodes héritées de la classe java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait