Module: Java::java::util::Enumeration

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

Overview

A java.util.Enumeration instance might be iterated Ruby style.

See Also:

Instance Method Summary (collapse)

Instance Method Details

- (Object) each



115
116
117
118
119
120
# File 'core/src/main/ruby/jruby/java/java_ext/java.util.rb', line 115

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