|
||||||||||
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
visidia.rule.RuleVector
public class RuleVector
Randomized methods.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
RuleVector()
|
|
RuleVector(java.util.Collection c)
|
|
RuleVector(int i)
|
Method Summary | |
---|---|
RuleVector |
cloneRules()
clones the vector, all elements should be vectors. no verification is done. |
int |
contains(Rule r)
looks in the vector for an elements Rule equals to the parameter r, this operation is Randomized. |
int |
count()
|
int |
indexOf(Neighbor nei)
looks in the vector for an elements Neighbor equals to the parameter nei, this operation is Randomized. |
int |
indexOfLabel(Neighbor nei)
looks in the vector for an elements having the same label as the parameter nei. this operation is Randomized. |
java.util.Iterator |
randIterator()
|
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 |
Constructor Detail |
---|
public RuleVector()
public RuleVector(int i)
public RuleVector(java.util.Collection c)
Method Detail |
---|
public int count()
public int indexOf(Neighbor nei)
nei
-
public int indexOfLabel(Neighbor nei)
nei
-
public RuleVector cloneRules()
public int contains(Rule r)
r
-
public java.util.Iterator randIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |