Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Interface
java.util.List

Packages that use List
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of List in java.awt.dnd
 

Methods in java.awt.dnd that return List
 List DropTargetDragEvent.getCurrentDataFlavorsAsList()
          This method returns the current DataFlavors as a java.util.List
 List DropTargetDropEvent.getCurrentDataFlavorsAsList()
          This method returns the currently available DataFlavors as a java.util.List.
protected  List DropTargetContext.getCurrentDataFlavorsAsList()
          This method returns a the currently available DataFlavors of the Transferable operand as a java.util.List.
 

Constructors in java.awt.dnd with parameters of type List
DragGestureEvent.DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List evs)
          Construct a DragGestureEvent given the DragGestureRecognizer firing this event, an int representing the user's preferred action, a Point indicating the origin of the drag, and a List of events that comprise the gesture.
 

Uses of List in java.util
 

Classes in java.util that implement List
 class 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).
 class 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).
 class ArrayList
          Resizable-array implementation of the List interface.
 class LinkedList
          Linked list implementation of the List interface.
 class Stack
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
 class 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.
 List Vector.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
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 the specified 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.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.