indexOf

From Documentation
Revision as of 08:14, 8 March 2011 by Tomyeh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
int indexOf(Object value, Object element);
i.e., CommonFns.indexOf(Object, Object)

Returns the index within the value of the first occurrence of the specified element.

Parameters:

  • value - the value to test. If it is an instance of String, String.indexOf() is called. If it is a collection or an array, all of its elements are examined one-by-one. If it is a map, Map.keySet() will be examined one-by-one.
  • element - the element to test.

Version History

Last Update : 2011/03/08


Version Date Content
5.0.7 March, 2011 This method was introduced



Last Update : 2011/03/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.