Module java.base
Package java.lang

# Class Short

=
public final class Short
extends java.lang.Number
implements java.lang.Comparable<java.lang.Short>, java.lang.constant.Constable

## Fields

- =
  public static final int BYTES = 2
- =
  public static final short MAX_VALUE = 32767
- =
  public static final short MIN_VALUE = -32768
- =
  public static final int SIZE = 16
- =
  public static final java.lang.Class<java.lang.Short> TYPE

## Constructors

- =
  @Deprecated(since="9"forRemoval=true)
  public Short(short arg0)
- =
  @Deprecated(since="9"forRemoval=true)
  public Short(java.lang.String arg0) throws java.lang.NumberFormatException

## Methods

- =
  public byte byteValue()
- =
  public static int compare(short arg0, short arg1)
- =
  public int compareTo(java.lang.Short arg0)
- =
  public static int compareUnsigned(short arg0, short arg1)
- =
  public static java.lang.Short decode(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public java.util.Optional<java.lang.constant.DynamicConstantDesc<java.lang.Short>> describeConstable()
- =
  public double doubleValue()
- =
  public boolean equals(java.lang.Object arg0)
- =
  public float floatValue()
- =
  public int hashCode()
- =
  public static int hashCode(short arg0)
- =
  public int intValue()
- =
  public long longValue()
- =
  public static short parseShort(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public static short parseShort(java.lang.String arg0, int arg1) throws java.lang.NumberFormatException
- =
  public static short reverseBytes(short arg0)
- =
  public short shortValue()
- =
  public java.lang.String toString()
- =
  public static java.lang.String toString(short arg0)
- =
  public static int toUnsignedInt(short arg0)
- =
  public static long toUnsignedLong(short arg0)
- =
  public static java.lang.Short valueOf(short arg0)
- =
  public static java.lang.Short valueOf(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public static java.lang.Short valueOf(java.lang.String arg0, int arg1) throws java.lang.NumberFormatException

## Serialized Form

=

### serialVersionUID

=7515723908773894738

### Serialized Fields

- =
  short value

## Summary

No differences.