org.exolab.castor.util

Class Stack.StackIterator

Enclosing Class:
Stack
Implemented Interfaces:
Iterator

public class Stack.StackIterator
extends java.lang.Object
implements Iterator

Field Summary

(package private) org.exolab.castor.util.Stack.StackItem
current

Constructor Summary

StackIterator(org.exolab.castor.util.Stack.StackItem top)

Method Summary

boolean
hasNext()
Object
next()
Object
remove()

Field Details

current

(package private)  org.exolab.castor.util.Stack.StackItem current

Constructor Details

StackIterator

protected StackIterator(org.exolab.castor.util.Stack.StackItem top)

Method Details

hasNext

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

next

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

remove

public Object remove()
            throws IllegalStateException
Specified by:
remove in interface Iterator

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com