Skip navigation links

Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10668-05


oracle.security.crypto.util
Class VectorOverArrayList<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<E>
              extended by oracle.security.crypto.util.VectorOverArrayList<E>

Type Parameters:
E -
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess

public class VectorOverArrayList<E>
extends java.util.Vector<E>

A Vector that redirects all methods to the underlying ArrayList

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData

 

Fields inherited from class java.util.AbstractList
modCount

 

Constructor Summary
VectorOverArrayList(java.util.ArrayList<E> arr)
           

 

Method Summary
 boolean add(E e)
           
 void add(int index, E element)
           
 boolean addAll(java.util.Collection<? extends E> c)
           
 boolean addAll(int index, java.util.Collection<? extends E> c)
           
 void addElement(E obj)
           
 int capacity()
           
 void clear()
           
 java.lang.Object clone()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> c)
           
 void copyInto(java.lang.Object[] anArray)
           
 E elementAt(int index)
           
 java.util.Enumeration<E> elements()
           
 void ensureCapacity(int minCapacity)
           
 boolean equals(java.lang.Object o)
           
 E firstElement()
           
 E get(int index)
           
 int hashCode()
           
 int indexOf(java.lang.Object o)
           
 int indexOf(java.lang.Object o, int index)
           
 void insertElementAt(E obj, int index)
           
 boolean isEmpty()
           
 java.util.Iterator<E> iterator()
           
 E lastElement()
           
 int lastIndexOf(java.lang.Object o)
           
 int lastIndexOf(java.lang.Object o, int index)
           
 java.util.ListIterator<E> listIterator()
           
 java.util.ListIterator<E> listIterator(int index)
           
 E remove(int index)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> c)
           
 void removeAllElements()
           
 boolean removeElement(java.lang.Object obj)
           
 void removeElementAt(int index)
           
protected  void removeRange(int fromIndex, int toIndex)
           
 boolean retainAll(java.util.Collection<?> c)
           
 E set(int index, E element)
           
 void setElementAt(E obj, int index)
           
 void setSize(int newSize)
           
 int size()
           
 java.util.List<E> subList(int fromIndex, int toIndex)
           
 java.lang.Object[] toArray()
           
<E> E[]
toArray(E[] a)
           
 java.lang.String toString()
           
 void trimToSize()
           

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

VectorOverArrayList

public VectorOverArrayList(java.util.ArrayList<E> arr)

Method Detail

add

public void add(int index,
                E element)
Specified by:
add in interface java.util.List<E>
Overrides:
add in class java.util.Vector<E>

add

public boolean add(E e)
Specified by:
add in interface java.util.Collection<E>
Specified by:
add in interface java.util.List<E>
Overrides:
add in class java.util.Vector<E>

addAll

public boolean addAll(java.util.Collection<? extends E> c)
Specified by:
addAll in interface java.util.Collection<E>
Specified by:
addAll in interface java.util.List<E>
Overrides:
addAll in class java.util.Vector<E>

addAll

public boolean addAll(int index,
                      java.util.Collection<? extends E> c)
Specified by:
addAll in interface java.util.List<E>
Overrides:
addAll in class java.util.Vector<E>

addElement

public void addElement(E obj)
Overrides:
addElement in class java.util.Vector<E>

capacity

public int capacity()
Overrides:
capacity in class java.util.Vector<E>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<E>
Specified by:
clear in interface java.util.List<E>
Overrides:
clear in class java.util.Vector<E>

clone

public java.lang.Object clone()
Overrides:
clone in class java.util.Vector<E>

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<E>
Specified by:
contains in interface java.util.List<E>
Overrides:
contains in class java.util.Vector<E>

containsAll

public boolean containsAll(java.util.Collection<?> c)
Specified by:
containsAll in interface java.util.Collection<E>
Specified by:
containsAll in interface java.util.List<E>
Overrides:
containsAll in class java.util.Vector<E>

copyInto

public void copyInto(java.lang.Object[] anArray)
Overrides:
copyInto in class java.util.Vector<E>

elementAt

public E elementAt(int index)
Overrides:
elementAt in class java.util.Vector<E>

elements

public java.util.Enumeration<E> elements()
Overrides:
elements in class java.util.Vector<E>

ensureCapacity

public void ensureCapacity(int minCapacity)
Overrides:
ensureCapacity in class java.util.Vector<E>

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection<E>
Specified by:
equals in interface java.util.List<E>
Overrides:
equals in class java.util.Vector<E>

firstElement

public E firstElement()
Overrides:
firstElement in class java.util.Vector<E>

get

public E get(int index)
Specified by:
get in interface java.util.List<E>
Overrides:
get in class java.util.Vector<E>

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection<E>
Specified by:
hashCode in interface java.util.List<E>
Overrides:
hashCode in class java.util.Vector<E>

indexOf

public int indexOf(java.lang.Object o,
                   int index)
Overrides:
indexOf in class java.util.Vector<E>

indexOf

public int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List<E>
Overrides:
indexOf in class java.util.Vector<E>

insertElementAt

public void insertElementAt(E obj,
                            int index)
Overrides:
insertElementAt in class java.util.Vector<E>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<E>
Specified by:
isEmpty in interface java.util.List<E>
Overrides:
isEmpty in class java.util.Vector<E>

lastElement

public E lastElement()
Overrides:
lastElement in class java.util.Vector<E>

lastIndexOf

public int lastIndexOf(java.lang.Object o,
                       int index)
Overrides:
lastIndexOf in class java.util.Vector<E>

lastIndexOf

public int lastIndexOf(java.lang.Object o)
Specified by:
lastIndexOf in interface java.util.List<E>
Overrides:
lastIndexOf in class java.util.Vector<E>

remove

public E remove(int index)
Specified by:
remove in interface java.util.List<E>
Overrides:
remove in class java.util.Vector<E>

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection<E>
Specified by:
remove in interface java.util.List<E>
Overrides:
remove in class java.util.Vector<E>

removeAll

public boolean removeAll(java.util.Collection<?> c)
Specified by:
removeAll in interface java.util.Collection<E>
Specified by:
removeAll in interface java.util.List<E>
Overrides:
removeAll in class java.util.Vector<E>

removeAllElements

public void removeAllElements()
Overrides:
removeAllElements in class java.util.Vector<E>

removeElement

public boolean removeElement(java.lang.Object obj)
Overrides:
removeElement in class java.util.Vector<E>

removeElementAt

public void removeElementAt(int index)
Overrides:
removeElementAt in class java.util.Vector<E>

removeRange

protected void removeRange(int fromIndex,
                           int toIndex)
Overrides:
removeRange in class java.util.Vector<E>

retainAll

public boolean retainAll(java.util.Collection<?> c)
Specified by:
retainAll in interface java.util.Collection<E>
Specified by:
retainAll in interface java.util.List<E>
Overrides:
retainAll in class java.util.Vector<E>

set

public E set(int index,
             E element)
Specified by:
set in interface java.util.List<E>
Overrides:
set in class java.util.Vector<E>

setElementAt

public void setElementAt(E obj,
                         int index)
Overrides:
setElementAt in class java.util.Vector<E>

setSize

public void setSize(int newSize)
Overrides:
setSize in class java.util.Vector<E>

size

public int size()
Specified by:
size in interface java.util.Collection<E>
Specified by:
size in interface java.util.List<E>
Overrides:
size in class java.util.Vector<E>

subList

public java.util.List<E> subList(int fromIndex,
                                 int toIndex)
Specified by:
subList in interface java.util.List<E>
Overrides:
subList in class java.util.Vector<E>

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection<E>
Specified by:
toArray in interface java.util.List<E>
Overrides:
toArray in class java.util.Vector<E>

toArray

public <E> E[] toArray(E[] a)
Specified by:
toArray in interface java.util.Collection<E>
Specified by:
toArray in interface java.util.List<E>
Overrides:
toArray in class java.util.Vector<E>

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Vector<E>

trimToSize

public void trimToSize()
Overrides:
trimToSize in class java.util.Vector<E>

iterator

public java.util.Iterator<E> iterator()
Specified by:
iterator in interface java.lang.Iterable<E>
Specified by:
iterator in interface java.util.Collection<E>
Specified by:
iterator in interface java.util.List<E>
Overrides:
iterator in class java.util.AbstractList<E>

listIterator

public java.util.ListIterator<E> listIterator()
Specified by:
listIterator in interface java.util.List<E>
Overrides:
listIterator in class java.util.AbstractList<E>

listIterator

public java.util.ListIterator<E> listIterator(int index)
Specified by:
listIterator in interface java.util.List<E>
Overrides:
listIterator in class java.util.AbstractList<E>

Skip navigation links

Oracle Fusion Middleware Crypto Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10668-05


Copyright © 2005, 2013, Oracle. All rights reserved.