| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| Modifier and Type | Method and Description |
|---|---|
static Color |
Color.decode(String
Converts a
String to an integer and returns the specified opaque
Color.
|
| Modifier and Type | Method and Description |
|---|---|
static Integer |
Integer.decode(String
Decodes a
String into an
Integer.
|
static Byte |
Byte.decode(String
Decodes a
String into a
Byte.
|
static Long |
Long.decode(String
Decodes a
String into a
Long.
|
static Short |
Short.decode(String
Decodes a
String into a
Short.
|
boolean |
Package.isCompatibleWith(String
Compare this package's specification version with a desired version.
|
static byte |
Byte.parseByte(String
Parses the string argument as a signed decimal
byte.
|
static byte |
Byte.parseByte(String
Parses the string argument as a signed
byte in the radix specified by the second argument.
|
static double |
Double.parseDouble(String
Returns a new
double initialized to the value represented by the specified
String, as performed by the
valueOf method of class
Double.
|
static float |
Float.parseFloat(String
Returns a new
float initialized to the value represented by the specified
String, as performed by the
valueOf method of class
Float.
|
static int |
Integer.parseInt(String
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String
Parses the string argument as a signed integer in the radix specified by the second argument.
|
static long |
Long.parseLong(String
Parses the string argument as a signed decimal
long.
|
static long |
Long.parseLong(String
Parses the string argument as a signed
long in the radix specified by the second argument.
|
static short |
Short.parseShort(String
Parses the string argument as a signed decimal
short.
|
static short |
Short.parseShort(String
Parses the string argument as a signed
short in the radix specified by the second argument.
|
static int |
Integer.parseUnsignedInt(String
Parses the string argument as an unsigned decimal integer.
|
static int |
Integer.parseUnsignedInt(String
Parses the string argument as an unsigned integer in the radix specified by the second argument.
|
static long |
Long.parseUnsignedLong(String
Parses the string argument as an unsigned decimal
long.
|
static long |
Long.parseUnsignedLong(String
Parses the string argument as an unsigned
long in the radix specified by the second argument.
|
static Double |
Double.valueOf(String
Returns a
Double object holding the
double value represented by the argument string
s.
|
static Integer |
Integer.valueOf(String
Returns an
Integer object holding the value of the specified
String.
|
static Byte |
Byte.valueOf(String
Returns a
Byte object holding the value given by the specified
String.
|
static Long |
Long.valueOf(String
Returns a
Long object holding the value of the specified
String.
|
static Float |
Float.valueOf(String
Returns a
Float object holding the
float value represented by the argument string
s.
|
static Short |
Short.valueOf(String
Returns a
Short object holding the value given by the specified
String.
|
static Integer |
Integer.valueOf(String
Returns an
Integer object holding the value extracted from the specified
String when parsed with the radix given by the second argument.
|
static Byte |
Byte.valueOf(String
Returns a
Byte object holding the value extracted from the specified
String when parsed with the radix given by the second argument.
|
static Long |
Long.valueOf(String
Returns a
Long object holding the value extracted from the specified
String when parsed with the radix given by the second argument.
|
static Short |
Short.valueOf(String
Returns a
Short object holding the value extracted from the specified
String when parsed with the radix given by the second argument.
|
| Constructor and Description | |
|---|---|
Byte(String
Constructs a newly allocated
Byte object that represents the
byte value indicated by the
String parameter.
|
|
Double(String
Constructs a newly allocated
Double object that represents the floating-point value of type
double represented by the string.
|
|
Float(String
Constructs a newly allocated
Float object that represents the floating-point value of type
float represented by the string.
|
|
Integer(String
Constructs a newly allocated
Integer object that represents the
int value indicated by the
String parameter.
|
|
Long(String
Constructs a newly allocated
Long object that represents the
long value indicated by the
String parameter.
|
|
Short(String
Constructs a newly allocated
Short object that represents the
short value indicated by the
String parameter.
|