|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<E>
java.util.Stack
net.sf.sail.common.persistance.memory.MemorySock
public class MemorySock
| Field Summary | |
|---|---|
(package private) static int |
sockCount
|
(package private) int |
sockSerial
|
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
MemorySock(Rim rim)
|
|
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object o)
Ensures that this collection contains the specified element (optional operation). |
java.lang.String |
toString()
|
| Methods inherited from class java.util.Stack |
|---|
empty, peek, pop, push, search |
| Methods inherited from class java.util.Vector |
|---|
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, 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 net.sf.sail.core.entity.ISock |
|---|
isEmpty, iterator, peek, size |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Field Detail |
|---|
static transient int sockCount
transient int sockSerial
| Constructor Detail |
|---|
public MemorySock(Rim rim)
rim - | Method Detail |
|---|
public boolean add(java.lang.Object o)
ISockCollections that support this operation may place limitations on what elements may be added to this collection. In particular, some collections will refuse to add null elements, and others will impose restrictions on the type of elements that may be added. Collection classes should clearly specify in their documentation any restrictions on what elements may be added.
If a collection refuses to add a particular element for any reason other than that it already contains the element, it must throw an exception (rather than returning false). This preserves the invariant that a collection always contains the specified element after this call returns.
add in interface java.util.Collectionadd in interface java.util.Listadd in interface ISockadd in class java.util.Vectoro - element whose presence in this collection is to be ensured.
public java.lang.String toString()
toString in class java.util.Vector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||