Method and Description |
---|
ca.roumani.i2c.Portfolio.getFirst()
As of version 4.0, replaced with
Portfolio.iterator()
Determine the first investment in this
portfolio. This method should be invoked first whenever you
intend to traverse the contents of the portfolio. If a
non-null was returned, repeated invocations of
Portfolio.getNext() will return the remaining investments in
this portfolio until a null is
returned. |
ca.roumani.i2c.GlobalCredit.getFirst()
As of version 4.0, replaced with
GlobalCredit.iterator() The base
invocation of the forward iterator. |
ca.roumani.i2c.Student.getFirstCourse()
As of version 4.0, replaced with
Student.iterator()
Determine the first course in the record of
this student. |
ca.roumani.i2c.Portfolio.getNext()
As of version 4.0, replaced with
Portfolio.iterator()
Determine the next investment in this portfolio.
The method should be invoked only if Portfolio.getFirst() has
already been invoked and a non-null was returned. |
ca.roumani.i2c.GlobalCredit.getNext()
As of version 4.0, replaced with
GlobalCredit.iterator() Follow
up invocation of the forward iterator. |
ca.roumani.i2c.Student.getNextCourse()
As of version 4.0, replaced with
Student.iterator()
Determine the next course in the record of
this student. It is assumed a prior
invocation of getFirstCourse was
made and that it produced a non-null return. In
order to browse through all courses taken, start
by invoking getFirstCourse to get the
first course number or null (if the
student has not taken any course yet). If you do
get a non-null return, keep invoking
getNextCourse to get all the other courses
in the record until a null is
returned, indicating no more courses. |