|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.events.CodedEventsList
public final class CodedEventsList
This class represents a list of objects CodedEvent.
One or more lists of coded events are created during propagation when CodingEventDetector is used, via the
monitorDetector method.
CodedEvent| Constructor Summary | |
|---|---|
CodedEventsList()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
add(CodedEvent codedEvent)
Add a CodedEvent to the list. |
Set<CodedEvent> |
getEvents(String code,
String comment,
AbsoluteDate date)
Finds one/more events in the list of CodedEvent following some criteria.When a comment and a date are available, the method looks for a specific event in the list, otherwise if only the code is given as input, it looks for a list of events with the same code. |
List<CodedEvent> |
getList()
Get the full list of coded events. |
boolean |
remove(CodedEvent codedEvent)
Remove a CodedEvent to the list. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CodedEventsList()
| Method Detail |
|---|
public void add(CodedEvent codedEvent)
CodedEvent to the list.
codedEvent - the element to add.public boolean remove(CodedEvent codedEvent)
CodedEvent to the list.
codedEvent - the element to remove.
public List<CodedEvent> getList()
SortedSet as a full
list.
public Set<CodedEvent> getEvents(String code,
String comment,
AbsoluteDate date)
CodedEvent following some criteria.
code - the code of the event to look for in the listcomment - the comment of the event to look for in the list (it can be null)date - the date of the event to look for in the list (it can be null)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||