@NullSafe
  public static boolean isShort(Number value) {
    return (value instanceof Short
      || (isWhole(value) && value.longValue() >= Short.MIN_VALUE && value.longValue() <= Short.MAX_VALUE));
  }
@ NullSafe public static boolean isShort ( Number value ) { return ( value instanceof Short || ( isWhole ( value ) && value . longValue ( ) >= Short . MIN_VALUE && value . longValue ( ) <= Short . MAX_VALUE ) ) ; }
Determines whether the given {@link Number} is a {@link Short}.

If the {@link Number} is not an instance of {@link Short} then the numerical value must be between
{@link Short#MIN_VALUE} and {@link Short#MAX_VALUE} inclusive.

@param value {@link Number} to evaluate.
@return a boolean value indicating whether the given {@link Number} is a {@link Short}.
@see #isWhole(Number)
@see java.lang.Number
@see java.lang.Short