Package edu.wisc.game.engine
Class RuleSet.Row
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<RuleSet.Atom>,Collection<RuleSet.Atom>,List<RuleSet.Atom>,RandomAccess
- Enclosing class:
RuleSet
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe default value, 0, means that there is no global limit in this rowFields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Method Summary
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, trimToSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Field Details
-
globalCounter
public final int globalCounterThe default value, 0, means that there is no global limit in this row
-
-
Method Details
-
toString
- Overrides:
toStringin classVector<RuleSet.Atom>
-
toSrc
Format as the source code of this row
-