|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.events.PhenomenaList
public final class PhenomenaList
This class represents a list of objects Phenomenon
.
One or more lists of phenomena are created during propagation when CodingEventDetector
is used, via the
monitorDetector
method.
Phenomenon
Constructor Summary | |
---|---|
PhenomenaList()
Default constructor. |
Method Summary | |
---|---|
void |
add(Phenomenon phenomenon)
Add a Phenomenon to the list. |
List<Phenomenon> |
getList()
Get the full list of Phenomenon . |
Set<Phenomenon> |
getPhenomena(String code,
String comment,
AbsoluteDateInterval interval)
Finds one/more events in the list of Phenomenon following some criteria.When a comment and a time interval are available, the method looks for a specific phenomenon in the list, otherwise if only the code is given as input, it looks for a list of phenomena with the same code. |
boolean |
remove(Phenomenon phenomenon)
Remove a Phenomenon 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 PhenomenaList()
Method Detail |
---|
public void add(Phenomenon phenomenon)
Phenomenon
to the list.
phenomenon
- the Phenomenon
to add.public boolean remove(Phenomenon phenomenon)
Phenomenon
to the list.
phenomenon
- the Phenomenon
to add.
public List<Phenomenon> getList()
Phenomenon
. Or more accurately : get a copy of the inside SortedSet
as a
full list.
Phenomenon
.public Set<Phenomenon> getPhenomena(String code, String comment, AbsoluteDateInterval interval)
Phenomenon
following some criteria.
code
- the code of the phenomenon to look for in the listcomment
- the comment of the phenomenon to look for in the list (it can be null)interval
- the time interval of the phenomenon 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 |