Package edu.wisc.game.engine
Class RuleSet.Row
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<RuleSet.Atom>
-
- edu.wisc.game.engine.RuleSet.Row
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<RuleSet.Atom>
,Collection<RuleSet.Atom>
,List<RuleSet.Atom>
,RandomAccess
- Enclosing class:
- RuleSet
public static class RuleSet.Row extends Vector<RuleSet.Atom>
A row object represents the content of one line of the rule set description file, i.e. the optional global counter and one or several rules- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
globalCounter
The default value, 0, means that there is no global limit in this row-
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toSrc()
Format as the source code of this rowString
toString()
-
Methods inherited from class java.util.Vector
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, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classVector<RuleSet.Atom>
-
toSrc
public String toSrc()
Format as the source code of this row
-
-