The Collections API. CS 242 Fall 2008 Karl R. Wurst. The Collections API. Provides data structures that can be reused All have a standard interface and provide a consistent set of operations (methods) Underlying implementations differ and provide different benefits. The Iterator Pattern.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
CS 242 Fall 2008
Karl R. Wurst
for (int i = 0; i < v.length; i++)
System.out.println( v[ i ] );
for (itr = v.first(); itr.isValid; itr.advance())
System.out.println( itr.getData() );