Class VariableValueSet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byLinkedListSet
              extended byVariableValueSet
All Implemented Interfaces:
java.util.Collection, java.util.Set

public class VariableValueSet
extends LinkedListSet

Variables can be constrained by sets of possible values. These are typically small, unchanging sets (although the current implementation doesn't take advantage of that fact).


Field Summary
 
Fields inherited from class LinkedListSet
elements
 
Constructor Summary
VariableValueSet()
           
 
Method Summary
 VariableValueSet intersectWith(VariableValueSet other)
          Return the VariableValueSet representing the intersection of this VariableValueSet with another one.
 java.lang.String toString()
          Returns the printable representation of this VariableValueSet as a String (using Lisp list syntax).
 
Methods inherited from class LinkedListSet
add, iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

VariableValueSet

public VariableValueSet()
Method Detail

toString

public java.lang.String toString()
Returns the printable representation of this VariableValueSet as a String (using Lisp list syntax).


intersectWith

public VariableValueSet intersectWith(VariableValueSet other)
Return the VariableValueSet representing the intersection of this VariableValueSet with another one.