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

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

?? idscriptableobject.java

?? 主要的怎么樣結合java 和 javascript!
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    }    public Object get(String name, Scriptable start)    {        int info = findInstanceIdInfo(name);        if (info != 0) {            int id = (info & 0xFFFF);            return getInstanceIdValue(id);        }        if (prototypeValues != null) {            int id = prototypeValues.findId(name);            if (id != 0) {                return prototypeValues.get(id);            }        }        return super.get(name, start);    }    public void put(String name, Scriptable start, Object value)    {        int info = findInstanceIdInfo(name);        if (info != 0) {            if (start == this && isSealed()) {                throw Context.reportRuntimeError1("msg.modify.sealed",                                                  name);            }            int attr = (info >>> 16);            if ((attr & READONLY) == 0) {                if (start == this) {                    int id = (info & 0xFFFF);                    setInstanceIdValue(id, value);                }                else {                    start.put(name, start, value);                }            }            return;        }        if (prototypeValues != null) {            int id = prototypeValues.findId(name);            if (id != 0) {                if (start == this && isSealed()) {                    throw Context.reportRuntimeError1("msg.modify.sealed",                                                      name);                }                prototypeValues.set(id, start, value);                return;            }        }        super.put(name, start, value);    }    public void delete(String name)    {        int info = findInstanceIdInfo(name);        if (info != 0) {            // Let the super class to throw exceptions for sealed objects            if (!isSealed()) {                int attr = (info >>> 16);                if ((attr & PERMANENT) == 0) {                    int id = (info & 0xFFFF);                    setInstanceIdValue(id, NOT_FOUND);                }                return;            }        }        if (prototypeValues != null) {            int id = prototypeValues.findId(name);            if (id != 0) {                if (!isSealed()) {                    prototypeValues.delete(id);                }                return;            }        }        super.delete(name);    }    public int getAttributes(String name)    {        int info = findInstanceIdInfo(name);        if (info != 0) {            int attr = (info >>> 16);            return attr;        }        if (prototypeValues != null) {            int id = prototypeValues.findId(name);            if (id != 0) {                return prototypeValues.getAttributes(id);            }        }        return super.getAttributes(name);    }    public void setAttributes(String name, int attributes)    {        ScriptableObject.checkValidAttributes(attributes);        int info = findInstanceIdInfo(name);        if (info != 0) {            int currentAttributes = (info >>> 16);            if (attributes != currentAttributes) {                throw new RuntimeException(                    "Change of attributes for this id is not supported");            }            return;        }        if (prototypeValues != null) {            int id = prototypeValues.findId(name);            if (id != 0) {                prototypeValues.setAttributes(id, attributes);                return;            }        }        super.setAttributes(name, attributes);    }    Object[] getIds(boolean getAll)    {        Object[] result = super.getIds(getAll);        if (prototypeValues != null) {            result = prototypeValues.getNames(getAll, result);        }        int maxInstanceId = getMaxInstanceId();        if (maxInstanceId != 0) {            Object[] ids = null;            int count = 0;            for (int id = maxInstanceId; id != 0; --id) {                String name = getInstanceIdName(id);                int info = findInstanceIdInfo(name);                if (info != 0) {                    int attr = (info >>> 16);                    if ((attr & PERMANENT) == 0) {                        if (NOT_FOUND == getInstanceIdValue(id)) {                            continue;                        }                    }                    if (getAll || (attr & DONTENUM) == 0) {                        if (count == 0) {                            // Need extra room for no more then [1..id] names                            ids = new Object[id];                        }                        ids[count++] = name;                    }                }            }            if (count != 0) {                if (result.length == 0 && ids.length == count) {                    result = ids;                }                else {                    Object[] tmp = new Object[result.length + count];                    System.arraycopy(result, 0, tmp, 0, result.length);                    System.arraycopy(ids, 0, tmp, result.length, count);                    result = tmp;                }            }        }        return result;    }    /**     * Get maximum id findInstanceIdInfo can generate.     */    protected int getMaxInstanceId()    {        return 0;    }    protected static int instanceIdInfo(int attributes, int id)    {        return (attributes << 16) | id;    }    /**     * Map name to id of instance property.     * Should return 0 if not found or the result of     * {@link #instanceIdInfo(int, int)}.     */    protected int findInstanceIdInfo(String name)    {        return 0;    }    /** Map id back to property name it defines.     */    protected String getInstanceIdName(int id)    {        throw new IllegalArgumentException(String.valueOf(id));    }    /** Get id value.     ** If id value is constant, descendant can call cacheIdValue to store     ** value in the permanent cache.     ** Default implementation creates IdFunctionObject instance for given id     ** and cache its value     */    protected Object getInstanceIdValue(int id)    {        throw new IllegalStateException(String.valueOf(id));    }    /**     * Set or delete id value. If value == NOT_FOUND , the implementation     * should make sure that the following getInstanceIdValue return NOT_FOUND.     */    protected void setInstanceIdValue(int id, Object value)    {        throw new IllegalStateException(String.valueOf(id));    }    /** 'thisObj' will be null if invoked as constructor, in which case     ** instance of Scriptable should be returned. */    public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,                             Scriptable thisObj, Object[] args)    {        throw f.unknown();    }    public final IdFunctionObject exportAsJSClass(int maxPrototypeId,                                                  Scriptable scope,                                                  boolean sealed)    {        // Set scope and prototype unless this is top level scope itself        if (scope != this && scope != null) {            setParentScope(scope);            setPrototype(getObjectPrototype(scope));        }        activatePrototypeMap(maxPrototypeId);        IdFunctionObject ctor = prototypeValues.createPrecachedConstructor();        if (sealed) {            sealObject();        }        fillConstructorProperties(ctor);        if (sealed) {            ctor.sealObject();        }        ctor.exportAsScopeProperty();        return ctor;    }    public final boolean hasPrototypeMap()    {        return prototypeValues != null;    }    public final void activatePrototypeMap(int maxPrototypeId)    {        PrototypeValues values = new PrototypeValues(this, maxPrototypeId);        synchronized (this) {            if (prototypeValues != null)                throw new IllegalStateException();            prototypeValues = values;        }    }    public final void initPrototypeMethod(Object tag, int id, String name,                                          int arity)    {        Scriptable scope = ScriptableObject.getTopLevelScope(this);        IdFunctionObject f = newIdFunction(tag, id, name, arity, scope);        prototypeValues.initValue(id, name, f, DONTENUM);    }    public final void initPrototypeConstructor(IdFunctionObject f)    {        int id = prototypeValues.constructorId;        if (id == 0)            throw new IllegalStateException();        if (f.methodId() != id)            throw new IllegalArgumentException();        if (isSealed()) { f.sealObject(); }        prototypeValues.initValue(id, "constructor", f, DONTENUM);    }    public final void initPrototypeValue(int id, String name, Object value,                                         int attributes)    {        prototypeValues.initValue(id, name, value, attributes);    }    protected void initPrototypeId(int id)    {        throw new IllegalStateException(String.valueOf(id));    }    protected int findPrototypeId(String name)    {        throw new IllegalStateException(name);    }    protected void fillConstructorProperties(IdFunctionObject ctor)    {    }    protected void addIdFunctionProperty(Scriptable obj, Object tag, int id,                                         String name, int arity)    {        Scriptable scope = ScriptableObject.getTopLevelScope(obj);        IdFunctionObject f = newIdFunction(tag, id, name, arity, scope);        f.addAsProperty(obj);    }    /**     * Utility method to construct type error to indicate incompatible call     * when converting script thisObj to a particular type is not possible.     * Possible usage would be to have a private function like realThis:     * <pre>     *  private static NativeSomething realThis(Scriptable thisObj,     *                                          IdFunctionObject f)     *  {     *      if (!(thisObj instanceof NativeSomething))     *          throw incompatibleCallError(f);     *      return (NativeSomething)thisObj;     * }     * </pre>     * Note that although such function can be implemented universally via     * java.lang.Class.isInstance(), it would be much more slower.     * @param readOnly specify if the function f does not change state of     * object.     * @return Scriptable object suitable for a check by the instanceof     * operator.     * @throws RuntimeException if no more instanceof target can be found     */    protected static EcmaError incompatibleCallError(IdFunctionObject f)    {        throw ScriptRuntime.typeError1("msg.incompat.call",                                       f.getFunctionName());    }    private IdFunctionObject newIdFunction(Object tag, int id, String name,                                           int arity, Scriptable scope)    {        IdFunctionObject f = new IdFunctionObject(this, tag, id, name, arity,                                                  scope);        if (isSealed()) { f.sealObject(); }        return f;    }    private void readObject(ObjectInputStream stream)        throws IOException, ClassNotFoundException    {        stream.defaultReadObject();        int maxPrototypeId = stream.readInt();        if (maxPrototypeId != 0) {            activatePrototypeMap(maxPrototypeId);        }    }    private void writeObject(ObjectOutputStream stream)        throws IOException    {        stream.defaultWriteObject();        int maxPrototypeId = 0;        if (prototypeValues != null) {            maxPrototypeId = prototypeValues.getMaxId();        }        stream.writeInt(maxPrototypeId);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩成人午夜精品| 亚洲美女电影在线| 26uuu久久天堂性欧美| 久久只精品国产| 亚洲天堂久久久久久久| 亚洲最大成人综合| 日本不卡一二三| 成人国产视频在线观看| 欧美性做爰猛烈叫床潮| 欧美一区二区网站| 欧美日韩一区二区不卡| 欧美一区二区三区影视| 欧美激情一区二区三区在线| 亚洲视频电影在线| 六月丁香婷婷久久| 91亚洲精品久久久蜜桃网站| 欧美一区二区三区视频在线| 国产日韩av一区| 日韩精品每日更新| 欧美中文一区二区三区| 久久天堂av综合合色蜜桃网| 亚洲成人激情综合网| 福利91精品一区二区三区| 在线不卡免费欧美| 亚洲人妖av一区二区| 黄色小说综合网站| 欧美日韩精品一区二区三区| 亚洲欧美韩国综合色| 国产精品99久久久| 欧美成人官网二区| 日韩激情av在线| 6080国产精品一区二区| 亚洲人成亚洲人成在线观看图片| 国产精品一区二区视频| 久久久精品黄色| 高清不卡一二三区| 国产精品视频一二三| 国产福利91精品| 日本一区二区免费在线| 不卡的av在线| 亚洲免费av高清| 欧美日韩中文字幕一区二区| 亚洲高清一区二区三区| 日韩一区二区三区电影| 国产一区在线精品| 中文字幕一区二区三区av| 在线欧美日韩精品| 蜜臀99久久精品久久久久久软件| 亚洲国产精品久久人人爱蜜臀| 一本高清dvd不卡在线观看| 亚洲精品大片www| 精品少妇一区二区三区在线视频| 国产乱码精品一区二区三区五月婷 | 国产精品国产三级国产专播品爱网 | 欧洲精品一区二区三区在线观看| 国产精品久久毛片av大全日韩| 国产成人在线网站| 激情文学综合丁香| 中文字幕精品在线不卡| 欧美日韩在线播放三区| 国产福利不卡视频| 婷婷国产v国产偷v亚洲高清| 国产亚洲精品7777| 欧美日本乱大交xxxxx| 国产盗摄女厕一区二区三区| 日韩激情视频在线观看| 亚洲男人的天堂在线观看| 日韩久久免费av| 欧美视频一区二区三区四区| 国产成人99久久亚洲综合精品| 夜夜精品视频一区二区| 日韩一区在线免费观看| 一本到一区二区三区| 亚洲激情图片qvod| 国产精品美女久久久久久久久| 欧美一区二区三区在线电影| 欧美这里有精品| 色婷婷综合久久| 91亚洲资源网| 成人av资源在线| 91女神在线视频| av电影天堂一区二区在线 | 国产成人精品免费| 国产精品一区在线| 国产激情一区二区三区| 极品少妇一区二区三区精品视频| 尤物av一区二区| 亚洲三级在线看| 亚洲风情在线资源站| 亚洲二区视频在线| 日韩国产欧美在线视频| 麻豆一区二区三| 国产不卡免费视频| 91色.com| 日韩欧美高清一区| 国产精品日韩成人| 亚洲最大色网站| 精品一区二区三区香蕉蜜桃| 成人免费毛片app| 欧美日韩国产首页在线观看| 久久综合给合久久狠狠狠97色69| 亚洲欧洲精品一区二区精品久久久| 亚洲精品中文在线影院| 九色porny丨国产精品| 97久久超碰国产精品| 欧美成人一级视频| 国产午夜精品一区二区三区嫩草| 久久久久久97三级| 亚洲一区二区成人在线观看| 久久av老司机精品网站导航| 色天天综合久久久久综合片| 久久久99精品久久| 免费美女久久99| 欧美日韩在线播放三区四区| 中文字幕在线观看一区| 国产乱码字幕精品高清av | 亚洲精品高清在线| 在线观看91视频| 日韩一区二区三区三四区视频在线观看| 国产精品三级av| 国产精品88av| 国产午夜三级一区二区三| 麻豆精品在线看| 日韩欧美电影在线| 日日欢夜夜爽一区| 欧美一区欧美二区| 奇米影视一区二区三区小说| 欧美三级电影网| 毛片av中文字幕一区二区| 欧美日韩免费视频| 亚洲成av人片一区二区梦乃| 欧美午夜一区二区| 亚洲电影欧美电影有声小说| 在线不卡免费欧美| 久久精品国产亚洲a| 欧美成人精品1314www| 国产成人在线免费观看| 中文字幕精品一区二区三区精品| 成人精品亚洲人成在线| 一区二区在线电影| 555夜色666亚洲国产免| 国产精品一区二区在线观看网站| 中文字幕va一区二区三区| 在线观看www91| 国产一区二区三区美女| 亚洲综合一区二区三区| 欧美一卡2卡三卡4卡5免费| 韩国av一区二区三区四区| 中文字幕亚洲一区二区av在线| 欧美日韩视频专区在线播放| 久久99国产精品久久99| 亚洲精品福利视频网站| 久久免费看少妇高潮| 欧美午夜片在线观看| 处破女av一区二区| 久久99精品久久久久久久久久久久| 亚洲欧美一区二区三区极速播放| 欧美区在线观看| 99久久国产综合精品麻豆| 免费的成人av| 日日噜噜夜夜狠狠视频欧美人| 亚洲欧美自拍偷拍| 欧美国产精品中文字幕| 精品国产免费人成电影在线观看四季 | 国产精品午夜久久| 精品久久久久久综合日本欧美| 欧美体内she精高潮| 日本丶国产丶欧美色综合| av在线播放成人| 91精彩视频在线| 欧洲国产伦久久久久久久| 97久久精品人人澡人人爽| av在线不卡免费看| av在线不卡免费看| 欧美性高清videossexo| 在线视频一区二区三区| 欧美日韩国产天堂| 欧美一区二区在线免费播放 | 亚洲一区在线免费观看| 夜夜夜精品看看| 奇米色777欧美一区二区| 老司机免费视频一区二区| 美腿丝袜一区二区三区| 国产精品一色哟哟哟| proumb性欧美在线观看| 欧美精选午夜久久久乱码6080| 欧美久久婷婷综合色| 久久久噜噜噜久久人人看| 亚洲素人一区二区| 视频一区中文字幕| 国产九色sp调教91| 欧美视频一区二区三区在线观看| 欧美一区二区视频网站| 国产精品网站在线| 亚洲va韩国va欧美va| 成人久久视频在线观看| 日韩一级完整毛片| 亚洲欧美视频在线观看| 免费精品视频在线| 欧美亚洲动漫精品|