Package org.jruby
Class RubyArray.RubyArrayConversionListIterator
- All Implemented Interfaces:
Iterator,ListIterator
- Enclosing class:
- RubyArray<T extends IRubyObject>
final class RubyArray.RubyArrayConversionListIterator
extends RubyArray<T>.RubyArrayConversionIterator
implements ListIterator
-
Field Summary
Fields inherited from class org.jruby.RubyArray.RubyArrayConversionIterator
index, last -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jruby.RubyArray.RubyArrayConversionIterator
hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
RubyArrayConversionListIterator
public RubyArrayConversionListIterator() -
RubyArrayConversionListIterator
public RubyArrayConversionListIterator(int index)
-
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator
-
previous
- Specified by:
previousin interfaceListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator
-
set
- Specified by:
setin interfaceListIterator
-
add
- Specified by:
addin interfaceListIterator
-