Module: Java::java::util::Iterator

Includes:
Enumerable
Defined in:
core/src/main/ruby/jruby/java/java_ext/java.util.rb

Overview

A java.util.Iterator acts like an `Enumerable`.

See Also:

Instance Method Summary (collapse)

Instance Method Details

- (Object) each



128
129
130
131
132
133
# File 'core/src/main/ruby/jruby/java/java_ext/java.util.rb', line 128

def each
  # stub implemented in org.jruby.javasupport.ext.JavaUtil.java
  # while hasNext
  #   yield next
  # end
end