|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysql.jdbc.Constants
public class Constants
Represents various constants used in the driver.
Field Summary | |
---|---|
static byte[] |
EMPTY_BYTE_ARRAY
Avoids allocation of empty byte[] when representing 0-length strings. |
static java.lang.String |
MILLIS_I18N
I18N'd representation of the abbreviation for "ms" |
static byte[] |
SLASH_STAR_SPACE_AS_BYTES
|
static byte[] |
SPACE_STAR_SLASH_SPACE_AS_BYTES
|
Method Summary | |
---|---|
static java.lang.Byte |
byteValueOf(byte b)
Same behavior as JDK-1.5's Byte.valueOf(int) |
static java.lang.Character |
characterValueOf(char c)
Same behavior as JDK-1.5's Constants.characterValueOf(int) |
static java.lang.Integer |
integerValueOf(int i)
Same behavior as JDK-1.5's Integer.valueOf(int) |
static java.lang.Long |
longValueOf(long l)
Same behavior as JDK-1.5's Long.valueOf(int) |
static java.lang.Short |
shortValueOf(short s)
Same behavior as JDK-1.5's Constants.shortValueOf(int) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte[] EMPTY_BYTE_ARRAY
public static final java.lang.String MILLIS_I18N
public static final byte[] SLASH_STAR_SPACE_AS_BYTES
public static final byte[] SPACE_STAR_SLASH_SPACE_AS_BYTES
Method Detail |
---|
public static java.lang.Character characterValueOf(char c)
public static final java.lang.Byte byteValueOf(byte b)
public static final java.lang.Integer integerValueOf(int i)
public static java.lang.Short shortValueOf(short s)
public static final java.lang.Long longValueOf(long l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |