public class CollectionVector
extends java.util.Vector
CertificateFactory.engineGenerateCertificates
and CertificateFactory.engineGenerateCRLs
API.Constructor and Description |
---|
CollectionVector()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.Object o)
Adds the given object.
|
void |
clear()
Removes all elements.
|
boolean |
remove(java.lang.Object o)
Removes the given object from this vector.
|
java.lang.Object[] |
toArray()
Returns the elements of this vector as array.
|
add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toString, trimToSize
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.List
clear
in class java.util.Vector
public boolean add(java.lang.Object o)
add
in interface java.util.Collection
add
in interface java.util.List
add
in class java.util.Vector
o
- the object to be addedtrue
if the object has been successfully added,
false
if it has not not includedpublic boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.List
remove
in class java.util.Vector
o
- the object to be removedtrue
if the given object has been removed,
false
if it has not been removed since it is not includedpublic java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.List
toArray
in class java.util.Vector