Package | Description |
---|---|
java.util |
Contains utility classes including the collections framework and date manipulation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractList<E>
This class provides a skeletal implementation of the
List interface to minimize the
effort required to implement this interface backed by a "random access" data store (such as an
array). |
class |
ArrayList<E>
Resizable-array implementation of the
List interface. |
class |
Stack<E>
The
Stack class represents a last-in-first-out (LIFO) stack of objects. |
class |
Vector<E>
The
Vector class implements a growable array of objects. |
Modifier and Type | Method and Description |
---|---|
List<E> |
Vector.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
|
List<E> |
List.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified
fromIndex , inclusive,
and toIndex , exclusive. |
List<E> |
AbstractList.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified
fromIndex , inclusive,
and toIndex , exclusive. |
List<E> |
ArrayList.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between the specified
fromIndex , inclusive,
and toIndex , exclusive. |