| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * This file is part of Adblock Plus <http://adblockplus.org/>, |    2  * This file is part of Adblock Plus <http://adblockplus.org/>, | 
|    3  * Copyright (C) 2006-2014 Eyeo GmbH |    3  * Copyright (C) 2006-2014 Eyeo GmbH | 
|    4  * |    4  * | 
|    5  * Adblock Plus is free software: you can redistribute it and/or modify |    5  * Adblock Plus is free software: you can redistribute it and/or modify | 
|    6  * it under the terms of the GNU General Public License version 3 as |    6  * it under the terms of the GNU General Public License version 3 as | 
|    7  * published by the Free Software Foundation. |    7  * published by the Free Software Foundation. | 
|    8  * |    8  * | 
|    9  * Adblock Plus is distributed in the hope that it will be useful, |    9  * Adblock Plus is distributed in the hope that it will be useful, | 
|   10  * but WITHOUT ANY WARRANTY; without even the implied warranty of |   10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   93   public long asLong() |   93   public long asLong() | 
|   94   { |   94   { | 
|   95     return asLong(this.ptr); |   95     return asLong(this.ptr); | 
|   96   } |   96   } | 
|   97  |   97  | 
|   98   public boolean asBoolean() |   98   public boolean asBoolean() | 
|   99   { |   99   { | 
|  100     return asBoolean(this.ptr); |  100     return asBoolean(this.ptr); | 
|  101   } |  101   } | 
|  102  |  102  | 
|  103   public boolean isValid() |  103   public JsValue getProperty(final String name) | 
|  104   { |  104   { | 
|  105     return isValid(this.ptr); |  105     return getProperty(this.ptr, name); | 
|  106   } |  106   } | 
|  107  |  107  | 
|  108   public List<JsValue> asList() |  108   public List<JsValue> asList() | 
|  109   { |  109   { | 
|  110     return asList(this.ptr); |  110     return asList(this.ptr); | 
|  111   } |  111   } | 
|  112  |  112  | 
|  113   @Override |  113   @Override | 
|  114   public String toString() |  114   public String toString() | 
|  115   { |  115   { | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  149   private final static native boolean isArray(long ptr); |  149   private final static native boolean isArray(long ptr); | 
|  150  |  150  | 
|  151   private final static native boolean isFunction(long ptr); |  151   private final static native boolean isFunction(long ptr); | 
|  152  |  152  | 
|  153   private final static native String asString(long ptr); |  153   private final static native String asString(long ptr); | 
|  154  |  154  | 
|  155   private final static native long asLong(long ptr); |  155   private final static native long asLong(long ptr); | 
|  156  |  156  | 
|  157   private final static native boolean asBoolean(long ptr); |  157   private final static native boolean asBoolean(long ptr); | 
|  158  |  158  | 
|  159   private final static native boolean isValid(long ptr); |  159   private final static native JsValue getProperty(long ptr, String name); | 
|  160  |  160  | 
|  161   private final static native List<JsValue> asList(long ptr); |  161   private final static native List<JsValue> asList(long ptr); | 
|  162  |  162  | 
|  163   private final static native void dtor(long ptr); |  163   private final static native void dtor(long ptr); | 
|  164 } |  164 } | 
| OLD | NEW |