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

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

?? nativeobject.java

?? 主要的怎么樣結(jié)合java 和 javascript!
?? JAVA
字號(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): * Norris Boyd * Igor Bukanov * Mike McCabe * * 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;/** * This class implements the Object native object. * See ECMA 15.2. * @author Norris Boyd */public class NativeObject extends IdScriptableObject{    static final long serialVersionUID = -6345305608474346996L;    private static final Object OBJECT_TAG = new Object();    static void init(Scriptable scope, boolean sealed)    {        NativeObject obj = new NativeObject();        obj.exportAsJSClass(MAX_PROTOTYPE_ID, scope, sealed);    }    public String getClassName()    {        return "Object";    }    public String toString()    {        return ScriptRuntime.defaultObjectToString(this);    }    protected void initPrototypeId(int id)    {        String s;        int arity;        switch (id) {          case Id_constructor:    arity=1; s="constructor";    break;          case Id_toString:       arity=0; s="toString";       break;          case Id_toLocaleString: arity=0; s="toLocaleString"; break;          case Id_valueOf:        arity=0; s="valueOf";        break;          case Id_hasOwnProperty: arity=1; s="hasOwnProperty"; break;          case Id_propertyIsEnumerable:            arity=1; s="propertyIsEnumerable"; break;          case Id_isPrototypeOf:  arity=1; s="isPrototypeOf";  break;          case Id_toSource:       arity=0; s="toSource";       break;          default: throw new IllegalArgumentException(String.valueOf(id));        }        initPrototypeMethod(OBJECT_TAG, id, s, arity);    }    public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,                             Scriptable thisObj, Object[] args)    {        if (!f.hasTag(OBJECT_TAG)) {            return super.execIdCall(f, cx, scope, thisObj, args);        }        int id = f.methodId();        switch (id) {          case Id_constructor: {            if (thisObj != null) {                // BaseFunction.construct will set up parent, proto                return f.construct(cx, scope, args);            }            if (args.length == 0 || args[0] == null                || args[0] == Undefined.instance)            {                return new NativeObject();            }            return ScriptRuntime.toObject(cx, scope, args[0]);          }          case Id_toLocaleString: // For now just alias toString          case Id_toString: {            if (cx.hasFeature(Context.FEATURE_TO_STRING_AS_SOURCE)) {                String s = ScriptRuntime.defaultObjectToSource(cx, scope,                                                               thisObj, args);                int L = s.length();                if (L != 0 && s.charAt(0) == '(' && s.charAt(L - 1) == ')') {                    // Strip () that surrounds toSource                    s = s.substring(1, L - 1);                }                return s;            }            return ScriptRuntime.defaultObjectToString(thisObj);          }          case Id_valueOf:            return thisObj;          case Id_hasOwnProperty: {            boolean result;            if (args.length == 0) {                result = false;            } else {                String s = ScriptRuntime.toStringIdOrIndex(cx, args[0]);                if (s == null) {                    int index = ScriptRuntime.lastIndexResult(cx);                    result = thisObj.has(index, thisObj);                } else {                    result = thisObj.has(s, thisObj);                }            }            return ScriptRuntime.wrapBoolean(result);          }          case Id_propertyIsEnumerable: {            boolean result;            if (args.length == 0) {                result = false;            } else {                String s = ScriptRuntime.toStringIdOrIndex(cx, args[0]);                if (s == null) {                    int index = ScriptRuntime.lastIndexResult(cx);                    result = thisObj.has(index, thisObj);                    if (result && thisObj instanceof ScriptableObject) {                        ScriptableObject so = (ScriptableObject)thisObj;                        int attrs = so.getAttributes(index);                        result = ((attrs & ScriptableObject.DONTENUM) == 0);                    }                } else {                    result = thisObj.has(s, thisObj);                    if (result && thisObj instanceof ScriptableObject) {                        ScriptableObject so = (ScriptableObject)thisObj;                        int attrs = so.getAttributes(s);                        result = ((attrs & ScriptableObject.DONTENUM) == 0);                    }                }            }            return ScriptRuntime.wrapBoolean(result);          }          case Id_isPrototypeOf: {            boolean result = false;            if (args.length != 0 && args[0] instanceof Scriptable) {                Scriptable v = (Scriptable) args[0];                do {                    v = v.getPrototype();                    if (v == thisObj) {                        result = true;                        break;                    }                } while (v != null);            }            return ScriptRuntime.wrapBoolean(result);          }          case Id_toSource:            return ScriptRuntime.defaultObjectToSource(cx, scope, thisObj,                                                       args);          default: throw new IllegalArgumentException(String.valueOf(id));        }    }// #string_id_map#    protected int findPrototypeId(String s)    {        int id;// #generated# Last update: 2003-11-11 01:51:40 CET        L0: { id = 0; String X = null; int c;            L: switch (s.length()) {            case 7: X="valueOf";id=Id_valueOf; break L;            case 8: c=s.charAt(3);                if (c=='o') { X="toSource";id=Id_toSource; }                else if (c=='t') { X="toString";id=Id_toString; }                break L;            case 11: X="constructor";id=Id_constructor; break L;            case 13: X="isPrototypeOf";id=Id_isPrototypeOf; break L;            case 14: c=s.charAt(0);                if (c=='h') { X="hasOwnProperty";id=Id_hasOwnProperty; }                else if (c=='t') { X="toLocaleString";id=Id_toLocaleString; }                break L;            case 20: X="propertyIsEnumerable";id=Id_propertyIsEnumerable; break L;            }            if (X!=null && X!=s && !X.equals(s)) id = 0;        }// #/generated#        return id;    }    private static final int        Id_constructor           = 1,        Id_toString              = 2,        Id_toLocaleString        = 3,        Id_valueOf               = 4,        Id_hasOwnProperty        = 5,        Id_propertyIsEnumerable  = 6,        Id_isPrototypeOf         = 7,        Id_toSource              = 8,        MAX_PROTOTYPE_ID         = 8;// #/string_id_map#}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91高潮流白浆在线麻豆| 亚洲国产sm捆绑调教视频 | av中文字幕一区| 国产精品视频看| 一本大道久久a久久综合婷婷| 亚洲私人影院在线观看| 欧美日韩一区二区三区视频| 亚洲va韩国va欧美va| 欧美成人精品3d动漫h| 狠狠色狠狠色综合系列| 中文字幕欧美一| av爱爱亚洲一区| 亚洲国产精品一区二区久久| 日韩视频一区二区| 不卡的av在线| 丝袜美腿亚洲色图| 久久久久久久久一| 99国产麻豆精品| 日韩精品一区第一页| 国产亚洲精品aa午夜观看| 91丨porny丨蝌蚪视频| 91久久人澡人人添人人爽欧美| 日韩高清在线电影| 2023国产精品自拍| 91免费版pro下载短视频| 亚洲一区二区三区精品在线| 色综合 综合色| 国产精品视频一二| 国产经典欧美精品| 亚洲一二三四在线观看| 欧美日韩国产精选| 婷婷开心激情综合| 欧美日本国产视频| 国产在线麻豆精品观看| 久久久高清一区二区三区| 亚洲国产欧美在线人成| av电影一区二区| 日本一区二区电影| 亚洲国产成人精品视频| 成人app下载| 精品日韩成人av| 亚洲欧美日韩在线播放| 亚洲精品精品亚洲| 7777精品久久久大香线蕉 | 国产成人午夜视频| 精品精品国产高清一毛片一天堂| 岛国精品在线观看| 奇米影视一区二区三区| 中文字幕乱码亚洲精品一区| 激情文学综合丁香| 久久久久九九视频| 欧美一区二区三级| 欧美日韩国产a| 午夜精品福利在线| 激情综合亚洲精品| 日韩欧美资源站| 成人免费视频国产在线观看| 日韩一区二区视频在线观看| 国产欧美精品国产国产专区| 日韩专区中文字幕一区二区| 国产麻豆精品视频| 日韩一级片在线播放| 欧美r级在线观看| 欧美一二三区在线| 337p亚洲精品色噜噜狠狠| 91麻豆免费观看| 成人免费av在线| 久久综合中文字幕| 一区二区三区精品视频| 99久久精品免费观看| 欧美日韩夫妻久久| 中文字幕一区二区三区视频| 在线精品国精品国产尤物884a| 成人综合日日夜夜| 国产精品久久久久天堂| 国产亚洲成av人在线观看导航| 欧美精品在线观看播放| 粉嫩高潮美女一区二区三区| 日韩一区精品字幕| 美女一区二区视频| 男女男精品网站| 九九国产精品视频| 日本一区二区成人| 经典三级在线一区| 日韩精品一区二区三区老鸭窝 | 国产精品美女www爽爽爽| 久久久久久久久97黄色工厂| 亚洲高清中文字幕| 欧美日韩aaaaaa| 国产盗摄一区二区| 国产九色sp调教91| 精品一区二区三区久久久| 亚洲成av人片在线观看无码| 久久精品视频网| 日韩vs国产vs欧美| 国产精品国产三级国产| 亚洲激情图片qvod| 国产成人av福利| 一区二区三区中文字幕精品精品| 激情六月婷婷久久| 亚洲蜜臀av乱码久久精品| 亚洲一区二区三区三| 欧美xxxxxxxx| 欧美性高清videossexo| 99re亚洲国产精品| 免费看日韩a级影片| 91视频国产资源| 欧美视频一区二区三区四区| www国产精品av| 国产欧美日韩综合精品一区二区| 一区二区欧美国产| 国产成人亚洲综合a∨婷婷| 亚洲狠狠爱一区二区三区| 在线亚洲人成电影网站色www| 日本三级亚洲精品| 欧美军同video69gay| 国产资源在线一区| 国产精品久久综合| 日韩一区二区视频| 精品国产人成亚洲区| 成人深夜在线观看| 日本一二三四高清不卡| 一区二区三区不卡视频| 色综合久久久久久久久久久| 日韩精品福利网| 日韩亚洲欧美高清| 不卡在线观看av| 日韩国产欧美在线视频| 99久久伊人网影院| 欧美一级高清大全免费观看| 国产亚洲污的网站| 中文字幕二三区不卡| 午夜久久电影网| 99久久免费精品高清特色大片| 在线综合视频播放| 国产亚洲女人久久久久毛片| 人人爽香蕉精品| 蜜臀精品久久久久久蜜臀| 国产精品一区二区三区乱码| 欧美精品在线视频| 亚洲一区二区美女| 色综合色综合色综合| 欧美国产一区二区| 亚洲欧美韩国综合色| 蜜桃av一区二区三区| 欧美夫妻性生活| 一区二区三区四区在线| 成人av小说网| 国产三级精品三级| 国产成人综合视频| 欧美精品一区男女天堂| 另类小说综合欧美亚洲| 在线观看一区二区精品视频| 国产精品美女久久久久久久| 国产成人一区在线| 久久精品一级爱片| 麻豆国产精品一区二区三区| 91精品久久久久久久99蜜桃 | 91网址在线看| 国产精品成人免费在线| 国产福利91精品一区| 久久精品在线免费观看| 免费成人美女在线观看| 精品视频一区二区三区免费| 国产精品久久久久影视| 成人午夜碰碰视频| 中文字幕av资源一区| 丰满白嫩尤物一区二区| 中文字幕中文字幕一区二区| 国产99久久久精品| 中文字幕第一区| 91亚洲精品久久久蜜桃| 国产精品高潮呻吟久久| 99久久99久久精品免费观看| 亚洲视频在线一区观看| 欧美日韩一区在线观看| 日本一不卡视频| 日韩精品一区二区三区在线观看| 人人爽香蕉精品| 久久亚洲影视婷婷| 99视频在线精品| 亚洲一区精品在线| 欧美一区二区三区在线视频| 久久99日本精品| 欧美国产乱子伦| 欧美亚洲一区二区在线| 天天av天天翘天天综合网色鬼国产| 欧美精品九九99久久| 九一久久久久久| 国产精品免费免费| 欧美系列在线观看| 国产在线国偷精品产拍免费yy| 国产精品女同一区二区三区| 在线精品视频一区二区| 久久精品99国产精品| 国产精品久久精品日日| 色婷婷香蕉在线一区二区| 免费在线观看精品| wwwwxxxxx欧美| 色拍拍在线精品视频8848|