/** * This is returns an <code>Iterator</code> that is used to loop * through the ouptut nodes from the top down. This allows the * node writer to determine what <code>Mode</code> should be used * by an output node. This reverses the iteration of the list. * * @return returns an iterator to iterate from the top down */ public Iterator<OutputNode> iterator() { return new Sequence(); }
/** * Returns the <code>OutputNode</code> object at the cursor * position. If the cursor has reached the start of the list * then this returns null instead of the first output node. * * @return this returns the node from the cursor position */ public OutputNode next() { if(hasNext()) { return get(--cursor); } return null; }
/** * Returns the <code>OutputNode</code> object at the cursor * position. If the cursor has reached the start of the list * then this returns null instead of the first output node. * * @return this returns the node from the cursor position */ public OutputNode next() { if(hasNext()) { return get(--cursor); } return null; }
/** * Returns the <code>OutputNode</code> object at the cursor * position. If the cursor has reached the start of the list * then this returns null instead of the first output node. * * @return this returns the node from the cursor position */ public OutputNode next() { if(hasNext()) { return get(--cursor); } return null; }
/** * This is returns an <code>Iterator</code> that is used to loop * through the ouptut nodes from the top down. This allows the * node writer to determine what <code>Mode</code> should be used * by an output node. This reverses the iteration of the list. * * @return returns an iterator to iterate from the top down */ public Iterator<OutputNode> iterator() { return new Sequence(); }
/** * This is returns an <code>Iterator</code> that is used to loop * through the ouptut nodes from the top down. This allows the * node writer to determine what <code>Mode</code> should be used * by an output node. This reverses the iteration of the list. * * @return returns an iterator to iterate from the top down */ public Iterator<OutputNode> iterator() { return new Sequence(); }