# valueOf static method

Short valueOf(

1. int value

)

Returns a Short instance representing the specified int value.

A wrapper class for int representing a 16-bit signed integer.

This class wraps a short integer value and provides Java-like functionality similar to Java's Short class.

Example usage:

    Short s1 = Short(32767);
    Short s2 = Short.parseShort("1000");
    Short s3 = Short.valueOf(-32768);

    print(s1.toString()); // "32767"
    print(s1.toUnsigned()); // 32767

## Implementation

    static Short valueOf(int value) {
      return Short(value);
    }