valueOf

Summary

Returns the primitive short value wrapped by the System.Integer16 object.

Usage

public short valueOf()

Returns

The primitive short value wrapped by the System.Integer16 object.

Description

Returns the primitive short value wrapped by the System.Integer16 object.

Examples

Basic Usage
1
2
3
4
5
6
import System;
 
System.Integer16 a = new System.Integer16(1);
System.Integer16 b = new System.Integer16(2);
Console.log(a.valueOf()); // 1
Console.log(b.valueOf()); // 2

Share

HTML | BBCode | Direct Link