jruby/docs BETA
Navigation
org.jruby.RubyEnumerator 2
C FeedValue
I SizeFn
SizeFn — members 1
M size(context, self, args) IRubyObject

org.jruby.RubyEnumerator.SizeFn

interface abstract 1 members

"Function" type for java-created enumerators with size. Should be implemented so that calls to SizeFn#size are kept in sync with the size of the created enum (i.e. if the object underlying an enumerator changes, calls to SizeFn#size should reflect that change).

Instance Methods

size

IRubyObject size ( ThreadContext context, T self, IRubyObject[] args )
Java: size(org.jruby.runtime.ThreadContext context, T self, org.jruby.runtime.builtin.IRubyObject[] args)