|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.Vector com.isti.util.IstiTimeObjectCache.VectorWithCount
public static class IstiTimeObjectCache.VectorWithCount
Subclass of Vector that also holds a 'count' value.
Field Summary | |
---|---|
protected int |
count
|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
IstiTimeObjectCache.VectorWithCount()
Constructs an empty VectorWithCount. |
|
IstiTimeObjectCache.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. |
|
IstiTimeObjectCache.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. |
Method Summary | |
---|---|
void |
addToCount(int val)
Adds to the count value. |
int |
getCount()
Returns the count value. |
void |
setCount(int count)
Sets the count value. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Field Detail |
---|
protected int count
Constructor Detail |
---|
public IstiTimeObjectCache.VectorWithCount()
public IstiTimeObjectCache.VectorWithCount(java.util.Collection cObj)
cObj
- the collection whose elements are to be placed
into this VectorWithCount.public IstiTimeObjectCache.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.Method Detail |
---|
public void setCount(int count)
count
- the count value to use.public void addToCount(int val)
val
- the value to add.public int getCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |