Groovy Documentation

griffon.pivot.support
[Groovy] Class FixedIterator

java.lang.Object
  griffon.pivot.support.FixedIterator
All Implemented Interfaces:
Iterator

final class FixedIterator
extends Object

Authors:
Andres Almiray


Field Summary
private int index

private def iterable

private boolean mutable

 
Constructor Summary
FixedIterator(def iterable, boolean mutable = false)

 
Method Summary
boolean hasNext()

Object next()

void remove()

private int size()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

index

private int index


iterable

private final def iterable


mutable

private final boolean mutable


 
Constructor Detail

FixedIterator

FixedIterator(def iterable, boolean mutable = false)


 
Method Detail

hasNext

boolean hasNext()


next

Object next()


remove

void remove()


size

private int size()


 

Groovy Documentation