public final class TaskPreconditionCollection extends java.lang.Object implements java.util.List<TaskPrecondition>, java.util.Collection<TaskPrecondition>, java.lang.Iterable<TaskPrecondition>
TaskPrecondition
.Constructor and Description |
---|
TaskPreconditionCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(CommonResources resource,
Operator operation,
java.lang.Object resourceValue)
Adds the specified precondition to the collection.
|
void |
add(int index,
TaskPrecondition item) |
void |
add(java.lang.String resource,
Operator operation,
java.lang.Object resourceValue)
Adds the specified precondition to the collection.
|
boolean |
add(TaskPrecondition item) |
boolean |
addAll(java.util.Collection<? extends TaskPrecondition> c) |
boolean |
addAll(int index,
java.util.Collection<? extends TaskPrecondition> c) |
void |
clear() |
boolean |
contains(java.lang.Object item) |
boolean |
containsAll(java.util.Collection<?> c) |
TaskPrecondition |
get(int index) |
boolean |
getIsReadOnly() |
int |
indexOf(java.lang.Object item) |
boolean |
isEmpty() |
java.util.Iterator<TaskPrecondition> |
iterator() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<TaskPrecondition> |
listIterator() |
java.util.ListIterator<TaskPrecondition> |
listIterator(int index) |
TaskPrecondition |
remove(int index) |
boolean |
remove(java.lang.Object item) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
TaskPrecondition |
set(int index,
TaskPrecondition value) |
int |
size() |
java.util.List<TaskPrecondition> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public final int size()
size
in interface java.util.Collection<TaskPrecondition>
size
in interface java.util.List<TaskPrecondition>
public final boolean getIsReadOnly()
public final TaskPrecondition set(int index, TaskPrecondition value)
set
in interface java.util.List<TaskPrecondition>
public final TaskPrecondition get(int index)
get
in interface java.util.List<TaskPrecondition>
public final int indexOf(java.lang.Object item)
indexOf
in interface java.util.List<TaskPrecondition>
public final void add(int index, TaskPrecondition item)
add
in interface java.util.List<TaskPrecondition>
public final TaskPrecondition remove(int index)
remove
in interface java.util.List<TaskPrecondition>
public final boolean add(TaskPrecondition item)
add
in interface java.util.Collection<TaskPrecondition>
add
in interface java.util.List<TaskPrecondition>
public final void add(CommonResources resource, Operator operation, java.lang.Object resourceValue)
resource
- The resource.operation
- The operation.resourceValue
- The resource value.public final void add(java.lang.String resource, Operator operation, java.lang.Object resourceValue)
resource
- The resource.operation
- The operation.resourceValue
- The resource value.public final void clear()
clear
in interface java.util.Collection<TaskPrecondition>
clear
in interface java.util.List<TaskPrecondition>
public final boolean contains(java.lang.Object item)
contains
in interface java.util.Collection<TaskPrecondition>
contains
in interface java.util.List<TaskPrecondition>
public final boolean remove(java.lang.Object item)
remove
in interface java.util.Collection<TaskPrecondition>
remove
in interface java.util.List<TaskPrecondition>
public final java.util.Iterator<TaskPrecondition> iterator()
iterator
in interface java.lang.Iterable<TaskPrecondition>
iterator
in interface java.util.Collection<TaskPrecondition>
iterator
in interface java.util.List<TaskPrecondition>
public final boolean isEmpty()
isEmpty
in interface java.util.Collection<TaskPrecondition>
isEmpty
in interface java.util.List<TaskPrecondition>
public final boolean containsAll(java.util.Collection<?> c)
containsAll
in interface java.util.Collection<TaskPrecondition>
containsAll
in interface java.util.List<TaskPrecondition>
public final java.lang.Object[] toArray()
toArray
in interface java.util.Collection<TaskPrecondition>
toArray
in interface java.util.List<TaskPrecondition>
public final <T> T[] toArray(T[] a)
toArray
in interface java.util.Collection<TaskPrecondition>
toArray
in interface java.util.List<TaskPrecondition>
public final boolean addAll(int index, java.util.Collection<? extends TaskPrecondition> c)
addAll
in interface java.util.List<TaskPrecondition>
public final int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<TaskPrecondition>
public final java.util.ListIterator<TaskPrecondition> listIterator()
listIterator
in interface java.util.List<TaskPrecondition>
public final java.util.ListIterator<TaskPrecondition> listIterator(int index)
listIterator
in interface java.util.List<TaskPrecondition>
public final java.util.List<TaskPrecondition> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<TaskPrecondition>
public final boolean addAll(java.util.Collection<? extends TaskPrecondition> c)
addAll
in interface java.util.Collection<TaskPrecondition>
addAll
in interface java.util.List<TaskPrecondition>
public final boolean removeAll(java.util.Collection<?> c)
removeAll
in interface java.util.Collection<TaskPrecondition>
removeAll
in interface java.util.List<TaskPrecondition>
public final boolean retainAll(java.util.Collection<?> c)
retainAll
in interface java.util.Collection<TaskPrecondition>
retainAll
in interface java.util.List<TaskPrecondition>