wt.fc.collections
Class ReferenceMap.QueryKeyListIterator

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

private final class ReferenceMap.QueryKeyListIterator
extends ReferenceMap.ReferenceListIterator


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.QueryKeyListIterator(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, remove
 

Field Detail

includeSubclasses

final boolean includeSubclasses

referenceList

final ReferenceMap.ReferenceList referenceList

cursor

int cursor

last

int last

expectedModCount

int expectedModCount
Constructor Detail

ReferenceMap.QueryKeyListIterator

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

next

public Object next()
Specified by:
next in interface ListIterator
Overrides:
next in class IteratorUtility.AbstractReferenceIterator

previous

public Object previous()
Specified by:
previous in interface ListIterator
Overrides:
previous in class IteratorUtility.AbstractReferenceListIterator

getReference

WTReference getReference(Object o)
Overrides:
getReference in class IteratorUtility.AbstractReferenceListIterator

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

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

hasNext

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

nextReference

WTReference nextReference()

remove

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