亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? level.java

?? JAVA基本類源代碼,大家可以學習學習!
?? JAVA
字號:
/* * @(#)Level.java	1.12 03/01/27 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.util.logging;import java.util.ResourceBundle;/** * The Level class defines a set of standard logging levels that * can be used to control logging output.  The logging Level objects * are ordered and are specified by ordered integers.  Enabling logging * at a given level also enables logging at all higher levels. * <p> * Clients should normally use the predefined Level constants such * as Level.SEVERE. * <p> * The levels in descending order are: * <ul> * <li>SEVERE (highest value) * <li>WARNING * <li>INFO * <li>CONFIG * <li>FINE * <li>FINER * <li>FINEST  (lowest value) * </ul> * In addition there is a level OFF that can be used to turn * off logging, and a level ALL that can be used to enable * logging of all messages. * <p> * It is possible for third parties to define additional logging * levels by subclassing Level.  In such cases subclasses should * take care to chose unique integer level values and to ensure that  * they maintain the Object uniqueness property across serialization * by defining a suitable readResolve method. * * @version 1.12, 01/27/03 * @since 1.4 */public class Level implements java.io.Serializable {    private static java.util.ArrayList known = new java.util.ArrayList();    private static String defaultBundle = "sun.util.logging.resources.logging";    /**     * @serial  The non-localized name of the level.     */    private final String name;    /**     * @serial  The integer value of the level.     */    private final int value;    /**     * @serial The resource bundle name to be used in localizing the level name.     */    private final String resourceBundleName;    /**     * OFF is a special level that can be used to turn off logging.     * This level is initialized to <CODE>Integer.MAX_VALUE</CODE>.     */    public static final Level OFF = new Level("OFF",Integer.MAX_VALUE, defaultBundle);    /**     * SEVERE is a message level indicating a serious failure.     * <p>     * In general SEVERE messages should describe events that are     * of considerable importance and which will prevent normal     * program execution.   They should be reasonably intelligible     * to end users and to system administrators.     * This level is initialized to <CODE>1000</CODE>.     */    public static final Level SEVERE = new Level("SEVERE",1000, defaultBundle);    /**     * WARNING is a message level indicating a potential problem.     * <p>     * In general WARNING messages should describe events that will     * be of interest to end users or system managers, or which     * indicate potential problems.     * This level is initialized to <CODE>900</CODE>.     */    public static final Level WARNING = new Level("WARNING", 900, defaultBundle);    /**     * INFO is a message level for informational messages.     * <p>     * Typically INFO messages will be written to the console     * or its equivalent.  So the INFO level should only be      * used for reasonably significant messages that will     * make sense to end users and system admins.     * This level is initialized to <CODE>800</CODE>.     */    public static final Level INFO = new Level("INFO", 800, defaultBundle);    /**     * CONFIG is a message level for static configuration messages.     * <p>     * CONFIG messages are intended to provide a variety of static     * configuration information, to assist in debugging problems     * that may be associated with particular configurations.     * For example, CONFIG message might include the CPU type,     * the graphics depth, the GUI look-and-feel, etc.     * This level is initialized to <CODE>700</CODE>.      */    public static final Level CONFIG = new Level("CONFIG", 700, defaultBundle);    /**     * FINE is a message level providing tracing information.     * <p>     * All of FINE, FINER, and FINEST are intended for relatively     * detailed tracing.  The exact meaning of the three levels will     * vary between subsystems, but in general, FINEST should be used     * for the most voluminous detailed output, FINER for somewhat     * less detailed output, and FINE for the  lowest volume (and     * most important) messages.     * <p>     * In general the FINE level should be used for information     * that will be broadly interesting to developers who do not have     * a specialized interest in the specific subsystem.     * <p>     * FINE messages might include things like minor (recoverable)     * failures.  Issues indicating potential performance problems     * are also worth logging as FINE.     * This level is initialized to <CODE>500</CODE>.     */    public static final Level FINE = new Level("FINE", 500, defaultBundle);    /**     * FINER indicates a fairly detailed tracing message.     * By default logging calls for entering, returning, or throwing     * an exception are traced at this level.     * This level is initialized to <CODE>400</CODE>.     */    public static final Level FINER = new Level("FINER", 400, defaultBundle);    /**     * FINEST indicates a highly detailed tracing message.     * This level is initialized to <CODE>300</CODE>.      */    public static final Level FINEST = new Level("FINEST", 300, defaultBundle);    /**     * ALL indicates that all messages should be logged.     * This level is initialized to <CODE>Integer.MIN_VALUE</CODE>.     */    public static final Level ALL = new Level("ALL", Integer.MIN_VALUE, defaultBundle);    /**     * Create a named Level with a given integer value.     * <p>     * Note that this constructor is "protected" to allow subclassing.     * In general clients of logging should use one of the constant Level     * objects such as SEVERE or FINEST.  However, if clients need to     * add new logging levels, they may subclass Level and define new     * constants.     * @param name  the name of the Level, for example "SEVERE".     * @param value an integer value for the level.     */    protected Level(String name, int value) {	this(name, value, null);    }    /**     * Create a named Level with a given integer value and a     * given localization resource name.     * <p>     * @param name  the name of the Level, for example "SEVERE".     * @param value an integer value for the level.     * @param resourceBundleName name of a resource bundle to use in     *    localizing the given name (may be null).     */    protected Level(String name, int value, String resourceBundleName) {        this.name = name;        this.value = value;	this.resourceBundleName = resourceBundleName;	synchronized (Level.class) {	    known.add(this);	}    }    /**     * Return the level's localization resource bundle name, or     * null if no localization bundle is defined.     *     * @return localization resource bundle name     */    public String getResourceBundleName() {	return resourceBundleName;    }    /**     * Return the non-localized string name of the Level.     *     * @return non-localized name     */    public String getName() {	return name;    }    /**     * Return the localized string name of the Level, for     * the current default locale.      * <p>     * If no localization information is available, the     * non-localized name is returned.     *     * @return localized name     */    public String getLocalizedName() {	try {	    ResourceBundle rb = ResourceBundle.getBundle(resourceBundleName);	    return rb.getString(name);	} catch (Exception ex) {	    return name;	}    }    /**     * @return the non-localized name of the Level, for example "INFO".     */    public final String toString() {	return name;    }    /**     * Get the integer value for this level.  This integer value     * can be used for efficient ordering comparisons between     * Level objects.     * @return the integer value for this level.     */    public final int intValue() {	return value;    }    // Serialization magic to prevent "doppelgangers".    // This is a peformance optimization.    private Object readResolve() {	synchronized (Level.class) {	    for (int i = 0; i < known.size(); i++) {		Level other = (Level) known.get(i);		if (this.name.equals(other.name) && this.value == other.value			&& (this.resourceBundleName == other.resourceBundleName ||			    (this.resourceBundleName != null &&			    this.resourceBundleName.equals(other.resourceBundleName)))) {		    return other;		}	    }	    // Woops.  Whoever sent us this object knows 	    // about a new log level.  Add it to our list.	    known.add(this);	    return this;	}    }    /**     * Parse a level name string into a Level.     * <p>     * The argument string may consist of either a level name     * or an integer value.     * <p>     * For example:     * <ul>     * <li>	"SEVERE"     * <li>	"1000"     * </ul>     * @param  name   string to be parsed     * @return parsed value     * @throws NullPointerException if the name is null     * @throws IllegalArgumentException if the value is neither one of the     *		known names nor an integer.     */    public static synchronized Level parse(String name) throws IllegalArgumentException {	// Check that name is not null.	name.length();	// Look for a known Level with the given non-localized name.	for (int i = 0; i < known.size(); i++) {	    Level l = (Level) known.get(i);	    if (name.equals(l.name)) {		return l;	    }	}	// Now, check if the given name is an integer.  If so,	// first look for a Level with the given value and then	// if necessary create one.	try {	    int x = Integer.parseInt(name);	    for (int i = 0; i < known.size(); i++) {	        Level l = (Level) known.get(i);		if (l.value == x) {		    return l;		}	    }		    // Create a new Level.	    return new Level(name, x);	} catch (NumberFormatException ex) {	    // Not an integer.	    // Drop through.	}	// Finally, look for a known level with the given localized name,	// in the current default locale.	// This is relatively expensive, but not excessively so.	for (int i = 0; i < known.size(); i++) {	    Level l = (Level) known.get(i);	    if (name.equals(l.getLocalizedName())) {		return l;	    }	}        // OK, we'ved tried everything and failed        throw new IllegalArgumentException("Bad level \"" + name + "\"");    }    /**     * Compare two objects for value equality.     * @return true if and only if the two objects have the same level value.     */    public boolean equals(Object ox) {	try {	    Level lx = (Level)ox;	    return (lx.value == this.value);	} catch (Exception ex) {	    return false;	}    }    /**     * Generate a hashcode.     * @return a hashcode based on the level value     */    public int hashCode() {	return this.value;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99视频热这里只有精品免费| 精品国产乱码久久久久久浪潮| 欧美色网一区二区| 精品国产乱码久久久久久老虎 | 91丨porny丨中文| 欧美一级xxx| 亚洲免费观看高清完整| 国产精品亚洲第一区在线暖暖韩国| 欧美色涩在线第一页| 久久精品水蜜桃av综合天堂| 日本美女一区二区| 欧美日韩激情一区二区三区| 国产精品久久福利| 国产一区二区免费视频| 欧美日韩国产高清一区二区| 亚洲日本欧美天堂| 国产·精品毛片| 久久精品人人做| 国模娜娜一区二区三区| 精品卡一卡二卡三卡四在线| 蜜臀精品一区二区三区在线观看| 色天天综合久久久久综合片| 中文字幕中文字幕一区二区| 成人激情免费网站| 国产午夜精品久久久久久免费视 | 不卡的av网站| 国产人久久人人人人爽| 国产一区视频网站| 精品国产乱码久久久久久闺蜜| 日韩精品乱码免费| 91精品国产aⅴ一区二区| 亚洲综合免费观看高清完整版| 色94色欧美sute亚洲线路一ni| 成人免费一区二区三区在线观看| 成人网在线免费视频| 国产精品私人影院| 成人小视频在线| 中文字幕在线播放不卡一区| 91色|porny| 一区二区成人在线| 欧美精品18+| 久久精品久久久精品美女| 日韩欧美色电影| 国产裸体歌舞团一区二区| 国产欧美一区二区精品性色超碰 | 欧美日韩成人综合| 日韩精彩视频在线观看| 日韩欧美你懂的| 国产高清精品网站| 亚洲久草在线视频| 欧美日韩美少妇| 激情偷乱视频一区二区三区| 2023国产精华国产精品| 成人精品视频.| 亚洲与欧洲av电影| 日韩精品一区二区三区蜜臀| 国产精品一二三在| 亚洲视频 欧洲视频| 欧美日韩1区2区| 国产一区二区影院| 亚洲欧美国产高清| 欧美成人女星排行榜| 成年人网站91| 日韩激情一区二区| 国产精品每日更新| 欧美视频一区在线| 国产伦精一区二区三区| 一区二区在线观看不卡| 精品久久久久久久人人人人传媒| 99久久精品国产一区| 三级久久三级久久久| 国产清纯白嫩初高生在线观看91 | 欧美亚洲高清一区二区三区不卡| 蜜臀a∨国产成人精品| 国产精品色噜噜| 欧美剧在线免费观看网站| 国产精品小仙女| 日韩av电影免费观看高清完整版| 中文字幕 久热精品 视频在线| 欧美高清一级片在线| 成人国产精品免费观看动漫| 男女激情视频一区| 亚洲天堂中文字幕| 久久久三级国产网站| 欧美日韩国产高清一区二区三区| 成人a区在线观看| 激情深爱一区二区| 日本在线不卡视频一二三区| 中文字幕永久在线不卡| 26uuu色噜噜精品一区二区| 欧美日韩一区二区在线观看| 99国产精品久久久久久久久久 | 欧美怡红院视频| 成人精品免费看| 久久99精品久久久| 天堂资源在线中文精品| 亚洲免费伊人电影| 中文字幕亚洲一区二区av在线| 久久久久一区二区三区四区| 欧美大胆一级视频| 欧美日本一区二区| 精品婷婷伊人一区三区三| av不卡在线观看| 国产不卡视频在线观看| 极品少妇一区二区三区精品视频| 婷婷综合另类小说色区| 亚洲v中文字幕| 亚洲中国最大av网站| 亚洲精品国产精品乱码不99| 亚洲欧美一区二区在线观看| 国产精品丝袜黑色高跟| 国产视频在线观看一区二区三区 | 久久先锋影音av| 日韩欧美一级二级三级久久久| 欧美久久久影院| 91高清视频在线| 欧美中文字幕一区| 在线观看一区不卡| 欧美日韩精品一区二区三区| 777奇米四色成人影色区| 在线不卡免费av| 日韩一区二区三区免费看 | 7777精品伊人久久久大香线蕉经典版下载 | 亚洲地区一二三色| 五月天精品一区二区三区| 天堂影院一区二区| 久久精品国产亚洲a| 精品一区二区免费在线观看| 国产精品亚洲一区二区三区在线| 国产成人精品亚洲777人妖 | 亚洲欧洲99久久| 亚洲欧美日韩成人高清在线一区| 亚洲黄色免费网站| 天天色天天爱天天射综合| 久久99蜜桃精品| 成人中文字幕在线| 色天使久久综合网天天| 欧美日本精品一区二区三区| 日韩欧美一级二级三级| 中文在线免费一区三区高中清不卡| 国产精品高潮呻吟| 亚洲国产成人精品视频| 免费在线看一区| 国产成人精品一区二区三区网站观看| 99国产精品99久久久久久| 精品污污网站免费看| 26uuu亚洲婷婷狠狠天堂| 亚洲欧美一区二区三区久本道91| 亚洲成人自拍一区| 国产suv精品一区二区883| 色噜噜狠狠一区二区三区果冻| 91精品国产综合久久久久久久| 国产无人区一区二区三区| 亚洲欧美日韩在线不卡| 精品一区二区综合| 色综合久久久久| 精品久久久久久久久久久久久久久久久 | 日韩一区二区三区视频在线观看| 国产精品丝袜一区| 美脚の诱脚舐め脚责91 | 成人动漫一区二区在线| 欧美美女一区二区在线观看| 日本一区二区三区在线不卡| 亚洲成人黄色小说| 91天堂素人约啪| 久久综合九色综合97_久久久| 有坂深雪av一区二区精品| 精品一区二区三区在线观看国产 | 在线观看成人小视频| xnxx国产精品| 五月激情综合婷婷| 色综合久久久久久久| 欧美国产日韩a欧美在线观看| 日韩1区2区3区| 在线视频观看一区| 久久精品夜色噜噜亚洲a∨| 免费观看在线综合| 欧美丰满美乳xxx高潮www| 亚洲色图在线看| 成人午夜精品一区二区三区| 日韩欧美国产综合| 亚洲国产日韩一级| 91福利在线看| 亚洲天堂a在线| 9色porny自拍视频一区二区| 欧美精品一区二区三区视频| 视频一区二区三区中文字幕| 91黄视频在线| 亚洲精品国产精华液| 色哟哟国产精品免费观看| 亚洲人成网站影音先锋播放| av在线综合网| 亚洲欧洲美洲综合色网| 成人一级片网址| 国产精品视频一二| 成人av片在线观看| 日韩一区有码在线| 91美女视频网站| 亚洲综合av网| 欧美一区二区三区小说|