MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / Short

Class Short

Ports/CLDC11/src/java/lang/Short.java:27–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25/// The Short class is the standard wrapper for short values.
26/// Since: JDK1.1, CLDC 1.0
27public final class Short extends Number implements Comparable<Short> {
28 /// The maximum value a Short can have.
29 /// See Also:Constant Field Values
30 public static final short MAX_VALUE=32767;
31
32 /// The minimum value a Short can have.
33 /// See Also:Constant Field Values
34 public static final short MIN_VALUE=-32768;
35
36 /// Constructs a Short object initialized to the specified short value.
37 /// value - the initial value of the Short
38 public Short(short value){
39 //TODO codavaj!!
40 }
41
42 /// Compares this object to the specified object.
43 public boolean equals(java.lang.Object obj){
44 return false; //TODO codavaj!!
45 }
46
47 /// Returns a hashcode for this Short.
48 public int hashCode(){
49 return 0; //TODO codavaj!!
50 }
51
52 /// Assuming the specified String represents a short, returns that short's value. Throws an exception if the String cannot be parsed as a short. The radix is assumed to be 10.
53 public static short parseShort(java.lang.String s) throws java.lang.NumberFormatException{
54 return 0; //TODO codavaj!!
55 }
56
57 /// Assuming the specified String represents a short, returns that short's value in the radix specified by the second argument. Throws an exception if the String cannot be parsed as a short.
58 public static short parseShort(java.lang.String s, int radix) throws java.lang.NumberFormatException{
59 return 0; //TODO codavaj!!
60 }
61
62 /// Returns the value of this Short as a short.
63 public short shortValue(){
64 return 0; //TODO codavaj!!
65 }
66
67 /// Returns a String object representing this Short's value.
68 public java.lang.String toString(){
69 return null; //TODO codavaj!!
70 }
71
72 /// Returns the object instance of i
73 ///
74 /// #### Parameters
75 ///
76 /// - `i`: the primitive
77 ///
78 /// #### Returns
79 ///
80 /// object instance
81 public static Short valueOf(short i) {
82 return null;
83 }
84

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected