JavaTM 2 Platform
Standard Ed. 5.0

常量字段值


目录
java.lang.*

java.lang.Byte
public static final byte MAX_VALUE 127
public static final byte MIN_VALUE -128
public static final int SIZE 8

java.lang.Character
public static final byte COMBINING_SPACING_MARK 8
public static final byte CONNECTOR_PUNCTUATION 23
public static final byte CONTROL 15
public static final byte CURRENCY_SYMBOL 26
public static final byte DASH_PUNCTUATION 20
public static final byte DECIMAL_DIGIT_NUMBER 9
public static final byte DIRECTIONALITY_ARABIC_NUMBER 6
public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL 9
public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR 7
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER 3
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR 4
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR 5
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT 0
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING 14
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE 15
public static final byte DIRECTIONALITY_NONSPACING_MARK 8
public static final byte DIRECTIONALITY_OTHER_NEUTRALS 13
public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR 10
public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT 18
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT 1
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC 2
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING 16
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE 17
public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR 11
public static final byte DIRECTIONALITY_UNDEFINED -1
public static final byte DIRECTIONALITY_WHITESPACE 12
public static final byte ENCLOSING_MARK 7
public static final byte END_PUNCTUATION 22
public static final byte FINAL_QUOTE_PUNCTUATION 30
public static final byte FORMAT 16
public static final byte INITIAL_QUOTE_PUNCTUATION 29
public static final byte LETTER_NUMBER 10
public static final byte LINE_SEPARATOR 13
public static final byte LOWERCASE_LETTER 2
public static final byte MATH_SYMBOL 25
public static final int MAX_CODE_POINT 1114111
public static final char MAX_HIGH_SURROGATE 56319
public static final char MAX_LOW_SURROGATE 57343
public static final int MAX_RADIX 36
public static final char MAX_SURROGATE 57343
public static final char MAX_VALUE 65535
public static final int MIN_CODE_POINT 0
public static final char MIN_HIGH_SURROGATE 55296
public static final char MIN_LOW_SURROGATE 56320
public static final int MIN_RADIX 2
public static final int MIN_SUPPLEMENTARY_CODE_POINT 65536
public static final char MIN_SURROGATE 55296
public static final char MIN_VALUE 0
public static final byte MODIFIER_LETTER 4
public static final byte MODIFIER_SYMBOL 27
public static final byte NON_SPACING_MARK 6
public static final byte OTHER_LETTER 5
public static final byte OTHER_NUMBER 11
public static final byte OTHER_PUNCTUATION 24
public static final byte OTHER_SYMBOL 28
public static final byte PARAGRAPH_SEPARATOR 14
public static final byte PRIVATE_USE 18
public static final int SIZE 16
public static final byte SPACE_SEPARATOR 12
public static final byte START_PUNCTUATION 21
public static final byte SURROGATE 19
public static final byte TITLECASE_LETTER 3
public static final byte UNASSIGNED 0
public static final byte UPPERCASE_LETTER 1

java.lang.Double
public static final double MAX_VALUE 1.7976931348623157E308
public static final double MIN_VALUE 4.9E-324
public static final double NaN 0d/0d
public static final double NEGATIVE_INFINITY -1d/0d
public static final double POSITIVE_INFINITY 1d/0d
public static final int SIZE 64

java.lang.Float
public static final float MAX_VALUE 3.4028234663852886E38f
public static final float MIN_VALUE 1.401298464324817E-45f
public static final float NaN 0f/0f
public static final float NEGATIVE_INFINITY -1f/0f
public static final float POSITIVE_INFINITY 1f/0f
public static final int SIZE 32

java.lang.Integer
public static final int MAX_VALUE 2147483647
public static final int MIN_VALUE -2147483648
public static final int SIZE 32

java.lang.Long
public static final long MAX_VALUE 9223372036854775807L
public static final long MIN_VALUE -9223372036854775808L
public static final int SIZE 64

java.lang.Math
public static final double E 2.718281828459045
public static final double PI 3.141592653589793

java.lang.Short
public static final short MAX_VALUE 32767
public static final short MIN_VALUE -32768
public static final int SIZE 16

java.lang.StrictMath
public static final double E 2.718281828459045
public static final double PI 3.141592653589793

java.lang.Thread
public static final int MAX_PRIORITY 10
public static final int MIN_PRIORITY 1
public static final int NORM_PRIORITY 5

java.lang.management.ManagementFactory
public static final String CLASS_LOADING_MXBEAN_NAME "java.lang:type=ClassLoading"
public static final String COMPILATION_MXBEAN_NAME "java.lang:type=Compilation"
public static final String GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE "java.lang:type=GarbageCollector"
public static final String MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE "java.lang:type=MemoryManager"
public static final String MEMORY_MXBEAN_NAME "java.lang:type=Memory"
public static final String MEMORY_POOL_MXBEAN_DOMAIN_TYPE "java.lang:type=MemoryPool"
public static final String OPERATING_SYSTEM_MXBEAN_NAME "java.lang:type=OperatingSystem"
public static final String RUNTIME_MXBEAN_NAME "java.lang:type=Runtime"
public static final String THREAD_MXBEAN_NAME "java.lang:type=Threading"

java.lang.management.MemoryNotificationInfo
public static final String MEMORY_COLLECTION_THRESHOLD_EXCEEDED "java.management.memory.collection.threshold.exceeded"
public static final String MEMORY_THRESHOLD_EXCEEDED "java.management.memory.threshold.exceeded"

java.lang.reflect.Member
public static final int DECLARED 1
public static final int PUBLIC 0

java.lang.reflect.Modifier
public static final int ABSTRACT 1024
public static final int FINAL 16
public static final int INTERFACE 512
public static final int NATIVE 256
public static final int PRIVATE 2
public static final int PROTECTED 4
public static final int PUBLIC 1
public static final int STATIC 8
public static final int STRICT 2048
public static final int SYNCHRONIZED 32
public static final int TRANSIENT 128
public static final int VOLATILE 64

java.util.*

java.util.Calendar
public static final int AM 0
public static final int AM_PM 9
public static final int APRIL 3
public static final int AUGUST 7
public static final int DATE 5
public static final int DAY_OF_MONTH 5
public static final int DAY_OF_WEEK 7
public static final int DAY_OF_WEEK_IN_MONTH 8
public static final int DAY_OF_YEAR 6
public static final int DECEMBER 11
public static final int DST_OFFSET 16
public static final int ERA 0
public static final int FEBRUARY 1
public static final int FIELD_COUNT 17
public static final int FRIDAY 6
public static final int HOUR 10
public static final int HOUR_OF_DAY 11
public static final int JANUARY 0
public static final int JULY 6
public static final int JUNE 5
public static final int MARCH 2
public static final int MAY 4
public static final int MILLISECOND 14
public static final int MINUTE 12
public static final int MONDAY 2
public static final int MONTH 2
public static final int NOVEMBER 10
public static final int OCTOBER 9
public static final int PM 1
public static final int SATURDAY 7
public static final int SECOND 13
public static final int SEPTEMBER 8
public static final int SUNDAY 1
public static final int THURSDAY 5
public static final int TUESDAY 3
public static final int UNDECIMBER 12
public static final int WEDNESDAY 4
public static final int WEEK_OF_MONTH 4
public static final int WEEK_OF_YEAR 3
public static final int YEAR 1
public static final int ZONE_OFFSET 15

java.util.FormattableFlags
public static final int ALTERNATE 4
public static final int LEFT_JUSTIFY 1
public static final int UPPERCASE 2

java.util.GregorianCalendar
public static final int AD 1
public static final int BC 0

java.util.SimpleTimeZone
public static final int STANDARD_TIME 1
public static final int UTC_TIME 2
public static final int WALL_TIME 0

java.util.TimeZone
public static final int LONG 1
public static final int SHORT 0

java.util.jar.JarEntry
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4

java.util.jar.JarFile
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4
public static final String MANIFEST_NAME "META-INF/MANIFEST.MF"

java.util.jar.JarInputStream
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4

java.util.jar.JarOutputStream
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4

java.util.jar.Pack200.Packer
public static final String CLASS_ATTRIBUTE_PFX "pack.class.attribute."
public static final String CODE_ATTRIBUTE_PFX "pack.code.attribute."
public static final String DEFLATE_HINT "pack.deflate.hint"
public static final String EFFORT "pack.effort"
public static final String ERROR "error"
public static final String FALSE "false"
public static final String FIELD_ATTRIBUTE_PFX "pack.field.attribute."
public static final String KEEP "keep"
public static final String KEEP_FILE_ORDER "pack.keep.file.order"
public static final String LATEST "latest"
public static final String METHOD_ATTRIBUTE_PFX "pack.method.attribute."
public static final String MODIFICATION_TIME "pack.modification.time"
public static final String PASS "pass"
public static final String PASS_FILE_PFX "pack.pass.file."
public static final String PROGRESS "pack.progress"
public static final String SEGMENT_LIMIT "pack.segment.limit"
public static final String STRIP "strip"
public static final String TRUE "true"
public static final String UNKNOWN_ATTRIBUTE "pack.unknown.attribute"

java.util.jar.Pack200.Unpacker
public static final String DEFLATE_HINT "unpack.deflate.hint"
public static final String FALSE "false"
public static final String KEEP "keep"
public static final String PROGRESS "unpack.progress"
public static final String TRUE "true"

java.util.logging.ErrorManager
public static final int CLOSE_FAILURE 3
public static final int FLUSH_FAILURE 2
public static final int FORMAT_FAILURE 5
public static final int GENERIC_FAILURE 0
public static final int OPEN_FAILURE 4
public static final int WRITE_FAILURE 1

java.util.logging.LogManager
public static final String LOGGING_MXBEAN_NAME "java.util.logging:type=Logging"

java.util.prefs.Preferences
public static final int MAX_KEY_LENGTH 80
public static final int MAX_NAME_LENGTH 80
public static final int MAX_VALUE_LENGTH 8192

java.util.regex.Pattern
public static final int CANON_EQ 128
public static final int CASE_INSENSITIVE 2
public static final int COMMENTS 4
public static final int DOTALL 32
public static final int LITERAL 16
public static final int MULTILINE 8
public static final int UNICODE_CASE 64
public static final int UNIX_LINES 1

java.util.zip.Deflater
public static final int BEST_COMPRESSION 9
public static final int BEST_SPEED 1
public static final int DEFAULT_COMPRESSION -1
public static final int DEFAULT_STRATEGY 0
public static final int DEFLATED 8
public static final int FILTERED 1
public static final int HUFFMAN_ONLY 2
public static final int NO_COMPRESSION 0

java.util.zip.GZIPInputStream
public static final int GZIP_MAGIC 35615

java.util.zip.ZipEntry
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int DEFLATED 8
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4
public static final int STORED 0

java.util.zip.ZipFile
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4
public static final int OPEN_DELETE 4
public static final int OPEN_READ 1

java.util.zip.ZipInputStream
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4

java.util.zip.ZipOutputStream
public static final int CENATT 36
public static final int CENATX 38
public static final int CENCOM 32
public static final int CENCRC 16
public static final int CENDSK 34
public static final int CENEXT 30
public static final int CENFLG 8
public static final int CENHDR 46
public static final int CENHOW 10
public static final int CENLEN 24
public static final int CENNAM 28
public static final int CENOFF 42
public static final long CENSIG 33639248L
public static final int CENSIZ 20
public static final int CENTIM 12
public static final int CENVEM 4
public static final int CENVER 6
public static final int DEFLATED 8
public static final int ENDCOM 20
public static final int ENDHDR 22
public static final int ENDOFF 16
public static final long ENDSIG 101010256L
public static final int ENDSIZ 12
public static final int ENDSUB 8
public static final int ENDTOT 10
public static final int EXTCRC 4
public static final int EXTHDR 16
public static final int EXTLEN 12
public static final long EXTSIG 134695760L
public static final int EXTSIZ 8
public static final int LOCCRC 14
public static final int LOCEXT 28
public static final int LOCFLG 6
public static final int LOCHDR 30
public static final int LOCHOW 8
public static final int LOCLEN 22
public static final int LOCNAM 26
public static final long LOCSIG 67324752L
public static final int LOCSIZ 18
public static final int LOCTIM 10
public static final int LOCVER 4
public static final int STORED 0


JavaTM 2 Platform
Standard Ed. 5.0

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策