public final class PhenomenaList extends Object implements Serializable
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,
Serialized Form| Constructor and Description |
|---|
PhenomenaList()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
boolean |
remove(Phenomenon phenomenon)
Remove a
Phenomenon to the list. |
String |
toString() |
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)Copyright © 2025 CNES. All rights reserved.