public RankedIterator(ConcreteAggregate agg) { this.agg = agg; }
public EastIterator(ConcreteAggregate agg) { this.agg = agg; }
public ConcreteIterator(ConcreteAggregate GuestList) { this.guestList = GuestList; }
/// <summary> /// 初始化对象将具体聚集类传入 /// </summary> /// <param name="aggregate"></param> public ConcreteIterator(ConcreteAggregate aggregate) { this.aggregate = aggregate; }
public ConcreteIterator(ConcreteAggregate list) { _list = list; _index = 0; }
public ConcreteIterator(ConcreteAggregate concreteAggregate) { ConcreteAggregate = concreteAggregate; Index = 0; }