THE PACKAGE JAVA.UTIL
java.util.Vector
21.11
public final int lastIndexOf(Object elem, int index)
throws IndexOutOfBoundsException;
}
21.11.1
protected Object[] elementData;
Internally, a
Vector
keeps its elements in an array that is at least large enough to
contain all the elements.
21.11.2
protected int elementCount;
This field holds the number of items currently in this
Vector
object. Components
elementData[0]
through
elementData[elementCount 1]
are the actual items.
21.11.3
protected int capacityIncrement;
When the method
ensureCapacity
( 21.11.22) must increase the size of the data
array in the field
elementData
(by creating a new array), it increases the size by
at least the amount in
capacityIncrement
; but if
capacityIncrement
is zero,
then it at least doubles the size of the data array.
21.11.4
public Vector(int initialCapacity, int capacityIncrement)
This constructor initializes a newly created
Vector
so that its internal data array
has size
initialCapacity
and its standard capacity increment is the value of
capacityIncrement
. Initially, the
Vector
contains no items.
21.11.5
public Vector(int initialCapacity)
This constructor initializes a newly created
Vector
so that its internal data array
has size
initialCapacity
and its standard capacity increment is zero. Initially,
the
Vector
contains no items.
21.11.6
public Vector()
This constructor initializes a newly created
Vector
so that its internal data array
has size
10
and its standard capacity increment is zero. Initially the
Vector
con
tains no items.
655
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved