public BagEnumerator(Bag bag, Node node) { this.bag = bag; this.current = node; }
public BagEnumerator(Bag bag) { this.bag = bag; this.current = bag.first; }