Package net.sf.saxon.tree.jiter
Class TopDownStackIterable<T>
java.lang.Object
net.sf.saxon.tree.jiter.TopDownStackIterable<T>
- Type Parameters:
T
- the type of the items on the stack
- All Implemented Interfaces:
Iterable<T>
Provides an iterable over a stack that iterates in order from top to bottom.
Note: Java stacks natively iterate from bottom to top; C# stacks from top to bottom.
-
Constructor Summary
ConstructorsConstructorDescriptionTopDownStackIterable
(Stack<T> stack) Construct a top-down iterable view of a stack -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TopDownStackIterable
Construct a top-down iterable view of a stack- Parameters:
stack
- the stack over which the top-down iterator will iterate
-
-
Method Details