public class TShort extends TNumber implements TComparable<TShort>
Modifier and Type | Field and Description |
---|---|
static short |
MAX_VALUE |
static short |
MIN_VALUE |
static int |
SIZE |
static Class<Short> |
TYPE |
Modifier and Type | Method and Description |
---|---|
static int |
compare(short a,
short b) |
int |
compareTo(TShort other) |
static TShort |
decode(String s) |
double |
doubleValue() |
boolean |
equals(Object other) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static short |
parseShort(String s) |
static short |
parseShort(String s,
int radix) |
static short |
reverseBytes(short i) |
short |
shortValue() |
String |
toString() |
static String |
toString(short value) |
static TShort |
valueOf(short value) |
static TShort |
valueOf(String s) |
static TShort |
valueOf(String s,
int radix) |
public static final short MIN_VALUE
public static final short MAX_VALUE
public static final int SIZE
public TShort(short value)
public TShort(String s) throws TNumberFormatException
TNumberFormatException
public float floatValue()
floatValue
in class TNumber
public double doubleValue()
doubleValue
in class TNumber
public short shortValue()
shortValue
in class TNumber
public static TShort valueOf(short value)
public static String toString(short value)
public static int compare(short a, short b)
public int compareTo(TShort other)
compareTo
in interface TComparable<TShort>
public static short parseShort(String s, int radix) throws TNumberFormatException
TNumberFormatException
public static short parseShort(String s) throws TNumberFormatException
TNumberFormatException
public static TShort valueOf(String s, int radix) throws TNumberFormatException
TNumberFormatException
public static TShort valueOf(String s) throws TNumberFormatException
TNumberFormatException
public static TShort decode(String s) throws TNumberFormatException
TNumberFormatException
public static short reverseBytes(short i)
Copyright © 2019. All rights reserved.