open static fun contains(@Nullable iterator: MutableIterator<*>, element: Any): Boolean
Check whether the given Iterator contains the given element.
iterator - the Iterator to check
element - the element to look for
Return
true if found, false else
open static fun contains(@Nullable enumeration: Enumeration<*>, element: Any): Boolean
Check whether the given Enumeration contains the given element.
enumeration - the Enumeration to check
element - the element to look for
Return
true if found, false else