src/java.base/share/classes/java/util/Arrays.java
changeset 59298 de2896bc018a
parent 59055 57ad70bcf06c
equal deleted inserted replaced
59297:498ce2452972 59298:de2896bc018a
  7115      * comparison is the result of comparing the two array lengths.
  7115      * comparison is the result of comparing the two array lengths.
  7116      * (See {@link #mismatch(Object[], Object[])} for the definition of a common
  7116      * (See {@link #mismatch(Object[], Object[])} for the definition of a common
  7117      * and proper prefix.)
  7117      * and proper prefix.)
  7118      *
  7118      *
  7119      * <p>A {@code null} array reference is considered lexicographically less
  7119      * <p>A {@code null} array reference is considered lexicographically less
  7120      * than a non-{@code null} array reference.  Two {@code null} array
  7120      * than a non-{@code null} array reference. Two {@code null} array
  7121      * references are considered equal.
  7121      * references are considered equal.
  7122      * A {@code null} array element is considered lexicographically than a
  7122      * A {@code null} array element is considered lexicographically less than a
  7123      * non-{@code null} array element.  Two {@code null} array elements are
  7123      * non-{@code null} array element. Two {@code null} array elements are
  7124      * considered equal.
  7124      * considered equal.
  7125      *
  7125      *
  7126      * <p>The comparison is consistent with {@link #equals(Object[], Object[]) equals},
  7126      * <p>The comparison is consistent with {@link #equals(Object[], Object[]) equals},
  7127      * more specifically the following holds for arrays {@code a} and {@code b}:
  7127      * more specifically the following holds for arrays {@code a} and {@code b}:
  7128      * <pre>{@code
  7128      * <pre>{@code