Skip to main content

The List Interface (The Java™ Tutorials > Collections > Inter...

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

Bookmark History

Saved by 3 people (0 private), first by anonymouse user on 2007-11-21


Public Sticky notes

A List is an ordered Collection (sometimes called a sequence). Lists may contain duplicate elements.

Highlighted by redertseng

ArrayList, which is usually the better-performing implementation

Highlighted by sohohk

LinkedList which offers better performance under certain circumstances

Highlighted by sohohk

The first call to previous returns the same element as the last call to next

Highlighted by sohohk

for (ListIterator<E> it = list.listIterator(); it.hasNext(); ){

Highlighted by pavel1998

for (ListIterator<Type> it = list.listIterator(list.size()); it.hasPrevious(); ) { Type t = it.previous(); ... }

Highlighted by redertseng