@SafeVarargs static fun <T : Any!> of(@NonNull vararg values: T): MutableIterator<T>!
Returns an iterator for the supplied values. Passing a null value will result in a NullPointerException
. The returned iterator doesn't support the remove operation.
values
- T: group of values for which an iterator is needed.
- type of the values pointed to by the iterator.
NullPointerException
- if the array of values passed to the method is null.
Return
MutableIterator<T>!: instance of Iterator
.