executeble actions. Responsible for
sorting the executables, and calculating the
affected query spaces.
| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| public static final int | |
| private transient @Nullable Set | querySpaces
Used to hold the query spaces (table names, roughly) that all the |
| private final boolean | |
| private boolean | |
| private final @Nullable ExecutableList. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ExecutableList(int
The initial capacity for instantiating the internal List initialCapacity)Creates a new instance with the given initial capacity. |
| public | |
| public | |
| public | ExecutableList(ExecutableList.
The Sorter to use; may be sorternullCreates a new instance using the given |
| public | ExecutableList(int
The initial capacity for instantiating the internal List initialCapacity, ExecutableList.The Sorter to use; may be sorternullCreates a new instance with the given initial capacity and |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the object was added to the listthe executable to add to the list executable)Add an |
| public void | afterDeserialize(EventSource
The session with which to associate the session)ExecutablesAllow the |
| public void | |
| public E | |
| public Set | Returns: the querySpaces affected by the actions in this listLazily constructs the querySpaces affected by the actions in the list. |
| public boolean | |
| public Iterator | Returns: an unmodifiable iteratorImplements java. |
| public void | readExternal(ObjectInput
The stream from which to read our serial state in)Implements java. |
| public ComparableExecutable | Returns: the entry that was removedThe index of the element to remove index)Removes the entry at position index in the list. |
| public void | |
| public int | |
| public void | |
| public String | |
| public void | writeExternal(ObjectOutput
The stream to which to serialize our state oos)Implements java. |
| executables | back to summary |
|---|---|
| private final ArrayList<E> executables | |
| INIT_QUEUE_LIST_SIZE | back to summary |
|---|---|
| public static final int INIT_QUEUE_LIST_SIZE | |
| querySpaces | back to summary |
|---|---|
| private transient @Nullable Set<Serializable> querySpaces Used to hold the query spaces (table names, roughly) that all the | |
| requiresSorting | back to summary |
|---|---|
| private final boolean requiresSorting | |
| sorted | back to summary |
|---|---|
| private boolean sorted | |
| sorter | back to summary |
|---|---|
| private final @Nullable ExecutableList. | |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList() Creates a new instance with the default settings. | |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList(int initialCapacity) Creates a new instance with the given initial capacity.
| |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList(boolean requiresSorting) | |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList(int initialCapacity, boolean requiresSorting) | |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList(ExecutableList. Creates a new instance using the given
| |
| ExecutableList | back to summary |
|---|---|
| public ExecutableList(int initialCapacity, ExecutableList. Creates a new instance with the given initial capacity and
| |
| add | back to summary |
|---|---|
| public boolean add(E executable) Add an
| |
| afterDeserialize | back to summary |
|---|---|
| public void afterDeserialize(EventSource session) Allow the
| |
| clear | back to summary |
|---|---|
| public void clear() Clears the list of executions. | |
| get | back to summary |
|---|---|
public E get(int index)
| |
| getQuerySpaces | back to summary |
|---|---|
| public Set Lazily constructs the querySpaces affected by the actions in the list.
| |
| isEmpty | back to summary |
|---|---|
public boolean isEmpty()
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Returns an iterator for the list. Wraps the list just in case something tries to modify it. | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object state back in from the given stream as part of the deserialization process.
| |
| remove | back to summary |
|---|---|
| public ComparableExecutable remove(int index) Removes the entry at position index in the list.
| |
| removeLastN | back to summary |
|---|---|
| public void removeLastN(int n) Removes the last n entries from the list.
| |
| size | back to summary |
|---|---|
public int size()
| |
| sort | back to summary |
|---|---|
| public void sort() Sorts the list using the natural ordering or using the | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput oos) throws IOException Implements java. Write this list out to the given stream as part of serialization
| |
ExecutableList.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| sort | back to summary |
|---|---|
| public void sort(List<ComparableExecutable> l) Sorts the list. | |