public class CommandResultList extends Object implements List<CommandResult>
| Constructor and Description |
|---|
CommandResultList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(CommandResult cresult) |
void |
add(int index,
CommandResult element) |
boolean |
addAll(Collection<? extends CommandResult> cresults) |
boolean |
addAll(int index,
Collection<? extends CommandResult> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
CommandResult |
get(int index) |
long |
getEndTime()
Get end time of last command.
|
Result |
getResult()
Get latest result.
|
List<CommandResult> |
getResults(ICommand command)
Get results of the command.
|
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<CommandResult> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<CommandResult> |
listIterator() |
ListIterator<CommandResult> |
listIterator(int index) |
CommandResult |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
CommandResult |
set(int index,
CommandResult element) |
void |
setEndTime(long endTime)
Set end time.
|
Result |
setResult(Result result)
Set result.
|
int |
size() |
List<CommandResult> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic int size()
size in interface Collection<CommandResult>size in interface List<CommandResult>public boolean isEmpty()
isEmpty in interface Collection<CommandResult>isEmpty in interface List<CommandResult>public boolean add(CommandResult cresult)
add in interface Collection<CommandResult>add in interface List<CommandResult>public boolean addAll(Collection<? extends CommandResult> cresults)
addAll in interface Collection<CommandResult>addAll in interface List<CommandResult>public CommandResult get(int index)
get in interface List<CommandResult>public Result setResult(Result result)
result - result.public Result getResult()
public Iterator<CommandResult> iterator()
iterator in interface Iterable<CommandResult>iterator in interface Collection<CommandResult>iterator in interface List<CommandResult>public ListIterator<CommandResult> listIterator()
listIterator in interface List<CommandResult>public ListIterator<CommandResult> listIterator(int index)
listIterator in interface List<CommandResult>public List<CommandResult> subList(int fromIndex, int toIndex)
subList in interface List<CommandResult>public Object[] toArray()
toArray in interface Collection<CommandResult>toArray in interface List<CommandResult>public <T> T[] toArray(T[] a)
toArray in interface Collection<CommandResult>toArray in interface List<CommandResult>public long getEndTime()
public List<CommandResult> getResults(ICommand command)
command - command.public void setEndTime(long endTime)
endTime - end time.public CommandResult set(int index, CommandResult element)
set in interface List<CommandResult>public void add(int index,
CommandResult element)
add in interface List<CommandResult>public int indexOf(Object o)
indexOf in interface List<CommandResult>public int lastIndexOf(Object o)
lastIndexOf in interface List<CommandResult>public boolean contains(Object o)
contains in interface Collection<CommandResult>contains in interface List<CommandResult>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<CommandResult>containsAll in interface List<CommandResult>public boolean addAll(int index,
Collection<? extends CommandResult> c)
addAll in interface List<CommandResult>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<CommandResult>retainAll in interface List<CommandResult>public CommandResult remove(int index)
remove in interface List<CommandResult>public boolean remove(Object o)
remove in interface Collection<CommandResult>remove in interface List<CommandResult>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<CommandResult>removeAll in interface List<CommandResult>public void clear()
clear in interface Collection<CommandResult>clear in interface List<CommandResult>Copyright © 2016. All rights reserved.