L - Implementation of a legpublic interface LegsSequence<L extends Leg> extends Leg, NavigableSet<L>
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Clean the legs sequence by truncating every overlapping legs and removing included legs.
|
L |
getLeg(AbsoluteDate date)
Return the leg whose time interval contains the input date.
|
default String |
toPrettyString()
Returns a string representation of the legs sequence.
|
getNature, getTimeInterval, truncateceiling, descendingIterator, descendingSet, floor, headSet, headSet, higher, iterator, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSetcomparator, first, last, spliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streamL getLeg(AbsoluteDate date) throws PatriusException
date - input datePatriusException - thrown if no leg contains the input datevoid clean()
throws PatriusException
This method should cover several cases for each legs couples (leg1/leg2) from the sequence :
PatriusException - thrown if the new time interval is not included in the current time intervaldefault String toPrettyString()
toPrettyString in interface LegCopyright © 2020 CNES. All rights reserved.