Package edu.wisc.game.engine
Class RuleSet.BucketList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<Expression.ArithmeticExpression>
-
- edu.wisc.game.engine.RuleSet.BucketList
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Expression.ArithmeticExpression>
,Collection<Expression.ArithmeticExpression>
,List<Expression.ArithmeticExpression>
,RandomAccess
- Enclosing class:
- RuleSet
public static class RuleSet.BucketList extends Vector<Expression.ArithmeticExpression>
A BucketList represents the information about the destination buckets given in the "buckets" field of an atom.- See Also:
- Serialized Form
-
-
Field Summary
-
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 BitSet
destinations(HashMap<String,HashSet<Integer>> varMap)
To which destinations can a piece be taken?String
toSrc()
String
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<Expression.ArithmeticExpression>
-
toSrc
public String toSrc()
-
-