< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/PropertyAccess.java

Print this page

        

*** 55,107 **** * Get the value for a given key and return it as an int * @param key the key * @param programPoint or INVALID_PROGRAM_POINT if pessimistic * @return the value */ - public int getInt(long key, int programPoint); - - /** - * Get the value for a given key and return it as an int - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ public int getInt(int key, int programPoint); /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(Object key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(double key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(long key, int programPoint); - - /** - * Get the value for a given key and return it as a long - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ - public long getLong(int key, int programPoint); - - /** * Get the value for a given key and return it as a double * @param key the key * @param programPoint or INVALID_PROGRAM_POINT if pessimistic * @return the value */ --- 55,67 ----
*** 119,136 **** * Get the value for a given key and return it as a double * @param key the key * @param programPoint or INVALID_PROGRAM_POINT if pessimistic * @return the value */ - public double getDouble(long key, int programPoint); - - /** - * Get the value for a given key and return it as a double - * @param key the key - * @param programPoint or INVALID_PROGRAM_POINT if pessimistic - * @return the value - */ public double getDouble(int key, int programPoint); /** * Get the value for a given key and return it as an Object * @param key the key --- 79,88 ----
*** 148,164 **** /** * Get the value for a given key and return it as an Object * @param key the key * @return the value */ - public Object get(long key); - - /** - * Get the value for a given key and return it as an Object - * @param key the key - * @return the value - */ public Object get(int key); /** * Set the value of a given key * @param key the key --- 100,109 ----
*** 171,188 **** * Set the value of a given key * @param key the key * @param value the value * @param flags call site flags */ - public void set(Object key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(Object key, double value, int flags); /** * Set the value of a given key * @param key the key --- 116,125 ----
*** 203,220 **** * Set the value of a given key * @param key the key * @param value the value * @param flags call site flags */ - public void set(double key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(double key, double value, int flags); /** * Set the value of a given key * @param key the key --- 140,149 ----
*** 227,284 **** * Set the value of a given key * @param key the key * @param value the value * @param flags call site flags */ - public void set(long key, int value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, double value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ - public void set(long key, Object value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(int key, int value, int flags); /** * Set the value of a given key * @param key the key * @param value the value * @param flags call site flags */ - public void set(int key, long value, int flags); - - /** - * Set the value of a given key - * @param key the key - * @param value the value - * @param flags call site flags - */ public void set(int key, double value, int flags); /** * Set the value of a given key * @param key the key --- 156,173 ----
*** 304,320 **** /** * Check if the given key exists anywhere in the proto chain * @param key the key * @return true if key exists */ - public boolean has(long key); - - /** - * Check if the given key exists anywhere in the proto chain - * @param key the key - * @return true if key exists - */ public boolean has(double key); /** * Check if the given key exists directly in the implementor * @param key the key --- 193,202 ----
*** 332,348 **** /** * Check if the given key exists directly in the implementor * @param key the key * @return true if key exists */ - public boolean hasOwnProperty(long key); - - /** - * Check if the given key exists directly in the implementor - * @param key the key - * @return true if key exists - */ public boolean hasOwnProperty(double key); /** * Delete a property with the given key from the implementor * @param key the key --- 214,223 ----
*** 353,370 **** /** * Delete a property with the given key from the implementor * @param key the key * @param strict are we in strict mode - * @return true if deletion succeeded, false otherwise - */ - public boolean delete(long key, boolean strict); - - /** - * Delete a property with the given key from the implementor - * @param key the key - * @param strict are we in strict mode * @return true if deletion succeeded, false otherwise */ public boolean delete(double key, boolean strict); /** --- 228,237 ----
< prev index next >