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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? kit.java

?? 主要的怎么樣結(jié)合java 和 javascript!
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or * implied. See the License for the specific language governing * rights and limitations under the License. * * The Original Code is Rhino code, released * May 6, 1999. * * The Initial Developer of the Original Code is Netscape * Communications Corporation.  Portions created by Netscape are * Copyright (C) 1997-1999 Netscape Communications Corporation. All * Rights Reserved. * * Contributor(s): * Igor Bukanov, igor@fastmail.fm * * Alternatively, the contents of this file may be used under the * terms of the GNU Public License (the "GPL"), in which case the * provisions of the GPL are applicable instead of those above. * If you wish to allow use of your version of this file only * under the terms of the GPL and not to allow others to use your * version of this file under the NPL, indicate your decision by * deleting the provisions above and replace them with the notice * and other provisions required by the GPL.  If you do not delete * the provisions above, a recipient may use your version of this * file under either the NPL or the GPL. */package org.mozilla.javascript;import java.io.IOException;import java.io.InputStream;import java.io.Reader;import java.lang.reflect.Method;import java.util.Hashtable;/** * Collection of utilities */public class Kit{    /**     * Reflection of Throwable.initCause(Throwable) from JDK 1.4     * or nul if it is not available.     */    private static Method Throwable_initCause = null;    static {        // Are we running on a JDK 1.4 or later system?        try {            Class ThrowableClass = Kit.classOrNull("java.lang.Throwable");            Class[] signature = { ThrowableClass };            Throwable_initCause                = ThrowableClass.getMethod("initCause", signature);        } catch (Exception ex) {            // Assume any exceptions means the method does not exist.        }    }    public static Class classOrNull(String className)    {        try {            return Class.forName(className);        } catch  (ClassNotFoundException ex) {        } catch  (SecurityException ex) {        } catch  (LinkageError ex) {        } catch (IllegalArgumentException e) {            // Can be thrown if name has characters that a class name            // can not contain        }        return null;    }    public static Class classOrNull(ClassLoader loader, String className)    {        try {            return loader.loadClass(className);        } catch (ClassNotFoundException ex) {        } catch (SecurityException ex) {        } catch  (LinkageError ex) {        } catch (IllegalArgumentException e) {            // Can be thrown if name has characters that a class name            // can not contain        }        return null;    }    static Object newInstanceOrNull(Class cl)    {        try {            return cl.newInstance();        } catch (SecurityException x) {        } catch  (LinkageError ex) {        } catch (InstantiationException x) {        } catch (IllegalAccessException x) {        }        return null;    }    /**     * Check that testClass is accesible from the given loader.     */    static boolean testIfCanLoadRhinoClasses(ClassLoader loader)    {        Class testClass = ScriptRuntime.ContextFactoryClass;        Class x = Kit.classOrNull(loader, testClass.getName());        if (x != testClass) {            // The check covers the case when x == null =>            // loader does not know about testClass or the case            // when x != null && x != testClass =>            // loader loads a class unrelated to testClass            return false;        }        return true;    }    /**     * If initCause methods exists in Throwable, call     * <tt>ex.initCause(cause)</tt> or otherwise do nothing.     * @return The <tt>ex</tt> argument.     */    public static RuntimeException initCause(RuntimeException ex,                                             Throwable cause)    {        if (Throwable_initCause != null) {            Object[] args = { cause };            try {                Throwable_initCause.invoke(ex, args);            } catch (Exception e) {                // Ignore any exceptions            }        }        return ex;    }    /**     * Split string into array of strings using semicolon as string terminator     * (; after the last string is required).     */    public static String[] semicolonSplit(String s)    {        String[] array = null;        for (;;) {            // loop 2 times: first to count semicolons and then to fill array            int count = 0;            int cursor = 0;            for (;;) {                int next = s.indexOf(';', cursor);                if (next < 0) {                    break;                }                if (array != null) {                    array[count] = s.substring(cursor, next);                }                ++count;                cursor = next + 1;            }            // after the last semicolon            if (array == null) {                // array size counting state:                // check for required terminating ';'                if (cursor != s.length())                    throw new IllegalArgumentException();                array = new String[count];            } else {                // array filling state: stop the loop                break;            }        }        return array;    }    /**     * If character <tt>c</tt> is a hexadecimal digit, return     * <tt>accumulator</tt> * 16 plus corresponding     * number. Otherise return -1.     */    public static int xDigitToInt(int c, int accumulator)    {        check: {            // Use 0..9 < A..Z < a..z            if (c <= '9') {                c -= '0';                if (0 <= c) { break check; }            } else if (c <= 'F') {                if ('A' <= c) {                    c -= ('A' - 10);                    break check;                }            } else if (c <= 'f') {                if ('a' <= c) {                    c -= ('a' - 10);                    break check;                }            }            return -1;        }        return (accumulator << 4) | c;    }    /**     * Add <i>listener</i> to <i>bag</i> of listeners.     * The function does not modify <i>bag</i> and return a new collection     * containing <i>listener</i> and all listeners from <i>bag</i>.     * Bag without listeners always represented as the null value.     * <p>     * Usage example:     * <pre>     *     private volatile Object changeListeners;     *     *     public void addMyListener(PropertyChangeListener l)     *     {     *         synchronized (this) {     *             changeListeners = Kit.addListener(changeListeners, l);     *         }     *     }     *     *     public void removeTextListener(PropertyChangeListener l)     *     {     *         synchronized (this) {     *             changeListeners = Kit.removeListener(changeListeners, l);     *         }     *     }     *     *     public void fireChangeEvent(Object oldValue, Object newValue)     *     {     *     // Get immune local copy     *         Object listeners = changeListeners;     *         if (listeners != null) {     *             PropertyChangeEvent e = new PropertyChangeEvent(     *                 this, "someProperty" oldValue, newValue);     *             for (int i = 0; ; ++i) {     *                 Object l = Kit.getListener(listeners, i);     *                 if (l == null)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩www| 国产精品99久久久久| 国产精品青草综合久久久久99| 精品婷婷伊人一区三区三| 91天堂素人约啪| 色婷婷综合久久久| 99riav久久精品riav| 99麻豆久久久国产精品免费优播| 国产成人小视频| 成人黄色软件下载| 99久久婷婷国产| 91丝袜高跟美女视频| 97久久人人超碰| 日本高清成人免费播放| 色先锋久久av资源部| 欧美日韩一区二区三区高清 | 日韩福利电影在线| 婷婷久久综合九色综合伊人色| 亚洲国产欧美在线人成| 日韩精品国产精品| 国产综合色产在线精品| 国产成人小视频| 色系网站成人免费| 欧美高清一级片在线| 精品国产区一区| 中文字幕中文在线不卡住| 国产精品久久久久久久蜜臀| 一区二区欧美精品| 日韩精品一二三四| 国产一区二区三区免费在线观看| 成人app网站| 欧美精品精品一区| 久久免费视频一区| 亚洲一区二区在线免费看| 日韩精品91亚洲二区在线观看 | 热久久久久久久| 国产一区二区三区观看| 色婷婷亚洲精品| 精品国产乱码久久久久久久久| 欧美高清在线精品一区| 亚洲高清不卡在线观看| 国产一区激情在线| 欧美乱妇23p| 国产精品你懂的| 日韩高清电影一区| 成人动漫一区二区在线| 欧美日韩免费视频| 日本一区二区三区免费乱视频| 亚洲成人一二三| 成人性生交大片免费看视频在线 | 99久久国产免费看| 日韩一级高清毛片| 亚洲综合在线视频| www.日韩在线| 久久人人爽爽爽人久久久| 亚洲精品中文字幕在线观看| 久久99久久99精品免视看婷婷| 99riav一区二区三区| 欧美一级高清大全免费观看| 综合自拍亚洲综合图不卡区| 国产大片一区二区| 欧美本精品男人aⅴ天堂| 欧美精品 国产精品| 中文字幕欧美一| 国产精品一区在线观看乱码| 日韩欧美中文字幕一区| 亚洲国产一区二区三区青草影视| jizz一区二区| 中文字幕在线不卡一区| 国产suv一区二区三区88区| www久久精品| 国产一区欧美日韩| 国产日韩精品久久久| 国模无码大尺度一区二区三区| 91精品在线麻豆| 日韩高清不卡一区二区三区| 91麻豆精品国产91久久久更新时间| 亚洲在线观看免费| 欧美亚洲另类激情小说| 亚洲精品中文字幕乱码三区| 在线观看日韩国产| 亚洲第一成年网| 日韩一区二区三| 精品一区二区日韩| 久久香蕉国产线看观看99| 国产精品一区专区| 国产精品五月天| 91麻豆6部合集magnet| 亚洲精品菠萝久久久久久久| 国产99久久久精品| 亚洲精品中文在线观看| 欧美这里有精品| 免费在线观看日韩欧美| 欧美三片在线视频观看| 日韩国产在线观看| 久久欧美一区二区| 丁香婷婷综合网| 亚洲视频在线观看一区| 欧美精品99久久久**| 久久国产乱子精品免费女| 欧美精品一区二区在线播放| 97se亚洲国产综合自在线| 亚洲欧美国产毛片在线| 欧美一级片免费看| 成人黄色免费短视频| 亚洲永久精品国产| 欧美日韩国产综合久久| 亚洲成a人v欧美综合天堂| 亚洲丝袜自拍清纯另类| 欧美绝品在线观看成人午夜影视| 亚洲国产日韩a在线播放性色| av毛片久久久久**hd| 日本一区免费视频| 国产福利电影一区二区三区| 久久久精品一品道一区| 久久精品视频在线免费观看| 免费成人你懂的| 色综合天天狠狠| 精品视频免费看| 亚洲黄色小视频| 国产福利不卡视频| 欧美这里有精品| 国产精品久久看| 岛国av在线一区| 国产精品久久久久久久岛一牛影视| 久久福利视频一区二区| 亚洲图片欧美一区| 国产精品久久久久久妇女6080 | 成人自拍视频在线观看| 日韩欧美电影一区| 国产精品1区2区| 国产精品午夜春色av| 在线精品亚洲一区二区不卡| 国产精品麻豆视频| 4438x亚洲最大成人网| 国产揄拍国内精品对白| 欧美国产在线观看| 在线日韩一区二区| 日韩精品五月天| 久久夜色精品国产噜噜av| 成人国产电影网| 精品精品国产高清一毛片一天堂| eeuss鲁片一区二区三区| 国产片一区二区三区| 欧美视频一区二区在线观看| 韩国精品免费视频| 亚洲线精品一区二区三区| 精品欧美一区二区三区精品久久| 99热精品一区二区| 日本视频在线一区| 亚洲国产裸拍裸体视频在线观看乱了| 日韩欧美在线影院| 91麻豆精品秘密| 国产一区二区免费看| 偷拍自拍另类欧美| 亚洲精品综合在线| 国产精品视频九色porn| 日韩欧美一级片| 欧美日韩精品一区二区三区蜜桃| 国产成人免费av在线| 午夜欧美电影在线观看| 中文字幕不卡在线播放| 精品国产91久久久久久久妲己 | 六月丁香婷婷久久| 亚洲精品一二三| 国产精品国产a| 精品久久国产字幕高潮| 欧美色精品天天在线观看视频| 夫妻av一区二区| 精品一区二区三区影院在线午夜| 一区二区三区高清| 亚洲精品视频免费看| 一区免费观看视频| 国产精品免费视频一区| 欧美一级日韩一级| 精品视频123区在线观看| 91视频免费看| 色久优优欧美色久优优| 成人三级伦理片| 国产成人午夜高潮毛片| 成人中文字幕在线| 国产精品99久久久久久宅男| 另类小说欧美激情| 精品在线免费观看| 狠狠色狠狠色综合日日91app| 三级在线观看一区二区| 亚洲gay无套男同| 久久精品国产99国产精品| 亚洲人一二三区| 中文字幕亚洲综合久久菠萝蜜| 久久久精品免费网站| 精品国产一区二区三区久久久蜜月| 欧美日韩免费一区二区三区视频| 91欧美激情一区二区三区成人| 国产精品一区二区x88av| 秋霞成人午夜伦在线观看| 亚洲chinese男男1069| 天天色天天操综合| 久久品道一品道久久精品| 欧美精品一区二区三区蜜桃视频|