Package org.jacop.constraints
Class ExclusiveList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ExclusiveItem>
-
- org.jacop.constraints.ExclusiveList
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<ExclusiveItem>,java.util.Collection<ExclusiveItem>,java.util.List<ExclusiveItem>,java.util.RandomAccess
class ExclusiveList extends java.util.ArrayList<ExclusiveItem>
Defines a list of exclusive items.- Version:
- 4.8
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ExclusiveList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) IntVarcondition(int n, int m)(package private) java.util.List<? extends IntVar>fdvs(int index)(package private) ExclusiveListlistFor(int index)(package private) booleanonList(int index)java.lang.StringtoString()-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
condition
IntVar condition(int n, int m)
-
fdvs
java.util.List<? extends IntVar> fdvs(int index)
-
listFor
ExclusiveList listFor(int index)
-
onList
boolean onList(int index)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<ExclusiveItem>
-
-