|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use List | |
java.awt.dnd | Provides interfaces and classes for supporting drag-and-drop operations. |
java.util | Provides useful utilities for data structures, date, time, internationalization, events (root interfaces), a simple string tokenizer, a random-number generator, observers, properties and exceptions. |
Uses of List in java.awt.dnd |
Methods in java.awt.dnd that return List | |
List | DropTargetDragEvent.getCurrentDataFlavorsAsList()
|
List | DropTargetDropEvent.getCurrentDataFlavorsAsList()
|
protected List | DropTargetContext.getCurrentDataFlavorsAsList()
|
Constructors in java.awt.dnd with parameters of type List | |
DragGestureEvent.DragGestureEvent(DragGestureRecognizer dgr,
int act,
Point ori,
List evs)
construct a DragGestureEvent |
Uses of List in java.util |
Classes in java.util that implement List | |
AbstractList
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). |
|
AbstractSequentialList
This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list). |
|
ArrayList
Resizable-array implementation of the List interface. |
|
LinkedList
Linked list implementation of the List interface. |
|
Stack
The Stack class represents a last-in-first-out
(LIFO) stack of objects. |
|
Vector
The Vector class implements a growable array of
objects. |
Fields in java.util declared as List | |
static List | Collections.EMPTY_LIST
The empty List (immutable). |
Methods in java.util that return List | |
List | AbstractList.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive. |
static List | Collections.unmodifiableList(List list)
Returns an unmodifiable view of the specified List. |
static List | Collections.synchronizedList(List list)
Returns a synchronized (thread-safe) List backed by the specified List. |
static List | Collections.nCopies(int n,
Object o)
Returns an immutable List consisting of n copies of the specified Object. |
static List | Arrays.asList(Object[] a)
Returns a fixed-size List backed by the specified array. |
List | List.subList(int fromIndex,
int toIndex)
Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive. |
Methods in java.util with parameters of type List | |
static void | Collections.sort(List list)
Sorts the specified List into ascending order, according to the natural ordering of its elements. |
static void | Collections.sort(List list,
Comparator c)
Sorts the specified List according to the order induced by the specified Comparator. |
static int | Collections.binarySearch(List list,
Object key)
Searches the specified List for the specified Object using the binary search algorithm. |
static int | Collections.binarySearch(List list,
Object key,
Comparator c)
Searches the specified List for the specified Object using the binary search algorithm. |
static void | Collections.reverse(List l)
Reverses the order of the elements in the specified List. |
static void | Collections.shuffle(List list)
Randomly permutes the specified list using a default source of randomness. |
static void | Collections.shuffle(List list,
Random rnd)
Randomly permute the specified list using the specified source of randomness. |
static void | Collections.fill(List list,
Object o)
Replaces all of the elements of the specified List with the specified element. |
static void | Collections.copy(List dest,
List src)
Copies all of the elements from one List into another. |
static List | Collections.unmodifiableList(List list)
Returns an unmodifiable view of the specified List. |
static List | Collections.synchronizedList(List list)
Returns a synchronized (thread-safe) List backed by the specified List. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |