public static class IstiTimeObjectCache.VectorWithCount
extends java.util.Vector
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
| Constructor and Description |
|---|
VectorWithCount()
Constructs an empty VectorWithCount.
|
VectorWithCount(java.util.Collection cObj)
Constructs a VectorWithCount containing the elements of the
specified collection, in the order they are returned by the
collection's iterator.
|
VectorWithCount(java.util.Collection cObj,
int count)
Constructs a VectorWithCount containing the elements of the
specified collection, in the order they are returned by the
collection's iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCount(int val)
Adds to the count value.
|
int |
getCount()
Returns the count value.
|
void |
setCount(int count)
Sets the count value.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic VectorWithCount()
public VectorWithCount(java.util.Collection cObj)
cObj - the collection whose elements are to be placed
into this VectorWithCount.public VectorWithCount(java.util.Collection cObj,
int count)
cObj - the collection whose elements are to be placed
into this VectorWithCount.count - the count value to use.public void setCount(int count)
count - the count value to use.public void addToCount(int val)
val - the value to add.public int getCount()