Package | Description |
---|---|
java.security.cert | |
java.util |
Modifier and Type | Method and Description |
---|---|
abstract List |
CertPath.getCertificates()
Returns the immutable, thread-safe list of certificates in this path.
|
List |
PKIXParameters.getCertPathCheckers()
Returns an immutable list of all certificate path checkers.
|
List |
PKIXParameters.getCertStores()
Returns an immutable list of cert stores.
|
List |
X509Certificate.getExtendedKeyUsage() |
Modifier and Type | Method and Description |
---|---|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(List certificates) |
CertPath |
CertificateFactory.generateCertPath(List certificates) |
void |
PKIXParameters.setCertPathCheckers(List pathCheckers)
Sets the certificate path checkers.
|
void |
PKIXParameters.setCertStores(List certStores)
Set the cert stores.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractList
AbstractList is an abstract implementation of the List interface, optimized
for a backing store which supports random access. |
class |
AbstractSequentialList
AbstractSequentialList is an abstract implementation of the List interface.
|
class |
ArrayList
ArrayList is an implementation of
List , backed by an array. |
class |
LinkedList |
class |
Stack
Stack is an implementation of a LIFO (last in, first out) queue on top of a Vector
|
class |
Vector |
Modifier and Type | Field and Description |
---|---|
static List |
Collections.EMPTY_LIST
An empty immutable instance of
List . |
Modifier and Type | Method and Description |
---|---|
static List |
Arrays.asList(Object[] array)
Returns a
List of the objects in the specified array. |
static List |
Collections.nCopies(int length,
Object object)
Returns a list containing the specified number of the specified element.
|
static List |
Collections.singletonList(Object object)
Returns a list containing the specified element.
|
List |
AbstractList.subList(int start,
int end)
Returns a part of consecutive elements of this list as a view.
|
List |
List.subList(int fromIndex,
int toIndex) |
List |
Vector.subList(int fromIndex,
int toIndex)
is implemented
this method calls subList in AbstractList
|
static List |
Collections.synchronizedList(List list)
Returns a wrapper on the specified List which synchronizes all access to
the List.
|
static List |
Collections.unmodifiableList(List list)
Returns a wrapper on the specified list which throws an
UnsupportedOperationException whenever an attempt is made to
modify the list. |
Modifier and Type | Method and Description |
---|---|
static int |
Collections.binarySearch(List list,
Object object)
Performs a binary search for the specified element in the specified
sorted list.
|
static int |
Collections.binarySearch(List list,
Object object,
Comparator comparator)
Performs a binary search for the specified element in the specified
sorted list using the specified comparator.
|
static void |
Collections.copy(List destination,
List source)
Copies the elements from the source list to the destination list.
|
static void |
Collections.fill(List list,
Object object)
Fills the specified list with the specified element.
|
static int |
Collections.indexOfSubList(List list,
List sublist)
Searches the
list for sublist and returns the beginning
index of the first occurrence. |
static int |
Collections.lastIndexOfSubList(List list,
List sublist)
Searches the
list for sublist and returns the beginning
index of the last occurrence. |
static boolean |
Collections.replaceAll(List list,
Object obj,
Object obj2)
Replaces all occurrences of Object
obj in list with
newObj . |
static void |
Collections.reverse(List list)
Modifies the specified
List by reversing the order of the
elements. |
static void |
Collections.rotate(List lst,
int dist)
Rotates the elements in
list by the distance dist |
static void |
Collections.shuffle(List list)
Moves every element of the list to a random new position in the list.
|
static void |
Collections.shuffle(List list,
Random random)
Moves every element of the list to a random new position in the list
using the specified random number generator.
|
static void |
Collections.sort(List list)
Sorts the specified list in ascending natural order.
|
static void |
Collections.sort(List list,
Comparator comparator)
Sorts the specified list using the specified comparator.
|
static void |
Collections.swap(List list,
int index1,
int index2)
Swaps the elements of list
list at indices index1 and
index2 . |
static List |
Collections.synchronizedList(List list)
Returns a wrapper on the specified List which synchronizes all access to
the List.
|
static List |
Collections.unmodifiableList(List list)
Returns a wrapper on the specified list which throws an
UnsupportedOperationException whenever an attempt is made to
modify the list. |