com.sun.jini.outrigger
Class TypeTree.TypeTreeIterator

java.lang.Object
  extended by com.sun.jini.outrigger.TypeTree.TypeTreeIterator
All Implemented Interfaces:
Iterator
Direct Known Subclasses:
TypeTree.RandomizedIterator
Enclosing class:
TypeTree

private abstract class TypeTree.TypeTreeIterator
extends Object
implements Iterator

An iterator that will walk through a list of known types.


Field Summary
protected  int cursor
           
protected  Object[] typearray
           
 
Constructor Summary
private TypeTree.TypeTreeIterator()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
          Unimplemented operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cursor

protected int cursor

typearray

protected Object[] typearray
Constructor Detail

TypeTree.TypeTreeIterator

private TypeTree.TypeTreeIterator()
Method Detail

hasNext

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

next

public Object next()
            throws NoSuchElementException
Specified by:
next in interface Iterator
Throws:
NoSuchElementException

remove

public void remove()
            throws UnsupportedOperationException
Unimplemented operations

Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException - Always


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.