## Uses of Class
java.lang.Override

- Packages that use Override
  Package | Description
  --- | ---
  java.lang |
  java.lang.invoke |
  java.util |

- - ### Uses of Override in java.lang

    Methods in java.lang with annotations of type Override
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | Thread.`clone()` Throws CloneNotSupportedException as a Thread can not be meaningfully cloned.
    `boolean` | Boolean.`equals(Object obj)` Returns `true` if and only if the argument is not `null` and is a `Boolean` object that represents the same `boolean` value as this object.
    `int` | Long.`hashCode()` Returns a hash code for this `Long`.
    `int` | Integer.`hashCode()` Returns a hash code for this `Integer`.
    `int` | Double.`hashCode()` Returns a hash code for this `Double` object.
    `void` | Thread.`run()` If this thread was constructed using a separate `Runnable` run object, then that `Runnable` object's `run` method is called; otherwise, this method does nothing and returns.

  - ### Uses of Override in java.lang.invoke

    Methods in java.lang.invoke with annotations of type Override
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | MethodType.`equals(Object x)` Compares the specified object with this type for equality.
    `int` | MethodType.`hashCode()` Returns the hash code value for this method type.
    `String` | MethodType.`toString()` Returns a string representation of the method type, of the form `"(PT0,PT1...)RT"`.
    `String` | MethodHandles.Lookup.`toString()` Displays the name of the class from which lookups are to be made.
    `String` | MethodHandle.`toString()` Returns a string representation of the method handle, starting with the string `"MethodHandle"` and ending with the string representation of the method handle's type.

  - ### Uses of Override in java.util

    Methods in java.util with annotations of type Override
    Modifier and Type | Method and Description
    --- | ---
    `default Spliterator<E>` | List.`spliterator()` Creates a `Spliterator` over the elements in this list.
    `default Spliterator<E>` | Collection.`spliterator()` Creates a `Spliterator` over the elements in this collection.

Copyright © 2025 API Design. All Rights Reserved.