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