wt.fc.collections
Class ReferenceMap.ReferenceListIterator

java.lang.Object
  extended bywt.fc.collections.IteratorUtility.AbstractReferenceIterator
      extended bywt.fc.collections.IteratorUtility.AbstractReferenceListIterator
          extended bywt.fc.collections.ReferenceMap.ReferenceListIterator
All Implemented Interfaces:
Iterator, ListIterator
Direct Known Subclasses:
ReferenceMap.PersistableListIterator, ReferenceMap.QueryKeyListIterator
Enclosing class:
ReferenceMap

private class ReferenceMap.ReferenceListIterator
extends IteratorUtility.AbstractReferenceListIterator


Field Summary
(package private)  int cursor
           
(package private)  int expectedModCount
           
(package private)  boolean includeSubclasses
           
(package private)  int last
           
(package private)  ReferenceMap.ReferenceList referenceList
           
 
Constructor Summary
(package private) ReferenceMap.ReferenceListIterator(ReferenceMap.ReferenceList reference_list, int index, boolean include_subclasses)
           
 
Method Summary
 void add(Object o)
           
(package private)  void addReference(WTReference r)
           
(package private)  FilterUtility.Filter getFilter()
           
(package private)  int getModCount()
           
(package private)  WTReference getReference(Object o)
           
(package private)  List getReferences()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 boolean isIncludeSubclasses()
           
 Object next()
           
 int nextIndex()
           
(package private)  WTReference nextReference()
           
 Object previous()
           
 int previousIndex()
           
(package private)  WTReference previousReference()
           
 void remove()
           
(package private)  void removeReference(WTReference r)
           
 void set(Object o)
           
(package private)  void setReference(WTReference inserted, WTReference removed)
           
(package private)  void validate(Class c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
 

Field Detail

includeSubclasses

final boolean includeSubclasses

referenceList

final ReferenceMap.ReferenceList referenceList

cursor

int cursor

last

int last

expectedModCount

int expectedModCount
Constructor Detail

ReferenceMap.ReferenceListIterator

ReferenceMap.ReferenceListIterator(ReferenceMap.ReferenceList reference_list,
                                   int index,
                                   boolean include_subclasses)
Method Detail

getReferences

List getReferences()
Specified by:
getReferences in class IteratorUtility.AbstractReferenceIterator

getFilter

FilterUtility.Filter getFilter()

isIncludeSubclasses

public boolean isIncludeSubclasses()

validate

void validate(Class c)

removeReference

void removeReference(WTReference r)
Specified by:
removeReference in class IteratorUtility.AbstractReferenceIterator

getModCount

int getModCount()
Specified by:
getModCount in class IteratorUtility.AbstractReferenceIterator

setReference

void setReference(WTReference inserted,
                  WTReference removed)
Specified by:
setReference in class IteratorUtility.AbstractReferenceListIterator

addReference

void addReference(WTReference r)
Specified by:
addReference in class IteratorUtility.AbstractReferenceListIterator

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator

previousReference

WTReference previousReference()

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator

set

public void set(Object o)
Specified by:
set in interface ListIterator

add

public void add(Object o)
Specified by:
add in interface ListIterator

getReference

WTReference getReference(Object o)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

nextReference

WTReference nextReference()

remove

public void remove()
Specified by:
remove in interface Iterator