Beispiel #1
0
 /**
  * Returns the corresponding value if this array contains the given key
  *
  * @param key to search for in the array
  *
  * @return the value if it @is found in the array, NULL otherwise
  */
 public Value containsKey(Value key)
 {
     if (_copyArray != null)
     {
         return(_copyArray.containsKey(key));
     }
     else
     {
         return(_constArray.containsKey(key));
     }
 }
 /**
  * Returns the corresponding value if this array contains the given key
  *
  * @param key to search for in the array
  *
  * @return the value if it @is found in the array, NULL otherwise
  */
 public override Value containsKey(Value key)
 {
     return(_array.containsKey(key));
 }