| 26 | /// In addition, this class provides several methods for converting an int to a String and a String to an int, as well as other constants and methods useful when dealing with an int. |
| 27 | /// Since: JDK1.0, CLDC 1.0 |
| 28 | public final class Integer extends Number implements Comparable<Integer> { |
| 29 | |
| 30 | public static final Class<Integer> TYPE = int.class; |
| 31 | /// The largest value of type int. The constant value of this field is 2147483647. |
| 32 | /// See Also:Constant Field Values |
| 33 | public static final int MAX_VALUE=2147483647; |
| 34 | |
| 35 | /// The smallest value of type int. The constant value of this field is -2147483648. |
| 36 | /// See Also:Constant Field Values |
| 37 | public static final int MIN_VALUE=-2147483648; |
| 38 | |
| 39 | /// Constructs a newly allocated Integer object that represents the primitive int argument. |
| 40 | /// value - the value to be represented by the Integer. |
| 41 | public Integer(int value){ |
| 42 | //TODO codavaj!! |
| 43 | } |
| 44 | |
| 45 | /// Returns the value of this Integer as a byte. |
| 46 | public byte byteValue(){ |
| 47 | return 0; //TODO codavaj!! |
| 48 | } |
| 49 | |
| 50 | /// Returns the value of this Integer as a double. |
| 51 | public double doubleValue(){ |
| 52 | return 0.0d; //TODO codavaj!! |
| 53 | } |
| 54 | |
| 55 | /// Compares this object to the specified object. The result is true if and only if the argument is not null and is an Integer object that contains the same int value as this object. |
| 56 | public boolean equals(java.lang.Object obj){ |
| 57 | return false; //TODO codavaj!! |
| 58 | } |
| 59 | |
| 60 | /// Returns the value of this Integer as a float. |
| 61 | public float floatValue(){ |
| 62 | return 0.0f; //TODO codavaj!! |
| 63 | } |
| 64 | |
| 65 | /// Returns a hashcode for this Integer. |
| 66 | public int hashCode(){ |
| 67 | return 0; //TODO codavaj!! |
| 68 | } |
| 69 | |
| 70 | /// Returns the value of this Integer as an int. |
| 71 | public int intValue(){ |
| 72 | return 0; //TODO codavaj!! |
| 73 | } |
| 74 | |
| 75 | /// Returns the value of this Integer as a long. |
| 76 | public long longValue(){ |
| 77 | return 0l; //TODO codavaj!! |
| 78 | } |
| 79 | |
| 80 | /// Parses the string argument as a signed decimal integer. The characters in the string must all be decimal digits, except that the first character may be an ASCII minus sign '-' (' |
| 81 | /// u002d') to indicate a negative value. The resulting integer value is returned, exactly as if the argument and the radix 10 were given as arguments to the |
| 82 | /// method. |
| 83 | public static int parseInt(java.lang.String s) throws java.lang.NumberFormatException{ |
| 84 | return 0; //TODO codavaj!! |
| 85 | } |
nothing calls this directly
no outgoing calls
no test coverage detected