public Iterator < JsonValue > iterator ( ) { final Iterator < JsonValue > iterator = values . iterator ( ) ; return new Iterator < JsonValue > ( ) { public boolean hasNext ( ) { return iterator . hasNext ( ) ; } public JsonValue next ( ) { return iterator . next ( ) ; } public void remove ( ) { throw new UnsupportedOperationException ( ) ; } } ; }
Returns an iterator over the values of this array in document order . The returned iterator cannot be used to modify this array .