コード例 #1
0
 public override void CreateStudentList()
 {
     list = new MyStudentList(3);
     list.add(new Student("中川雄介", 1));
     list.add(new Student("板東恵美", 2));
     list.add(new Student("水島太郎", 1));
 }
コード例 #2
0
 public MyStudentListIterator(MyStudentList list)
 {
     this.myStudentList = list;
     this.index         = 0;
 }