net.sf.bddbddb.order
Class OrderIterator

java.lang.Object
  extended by net.sf.bddbddb.order.OrderIterator
All Implemented Interfaces:
java.util.Iterator

public class OrderIterator
extends java.lang.Object
implements java.util.Iterator

Iterate through all possible orders of a given list.

Version:
$Id: OrderIterator.java 435 2005-02-13 03:24:59Z cs343 $
Author:
jwhaley

Constructor Summary
OrderIterator(java.util.List a)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 Order nextOrder()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderIterator

public OrderIterator(java.util.List a)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

nextOrder

public Order nextOrder()

remove

public void remove()
Specified by:
remove in interface java.util.Iterator


Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.