Package org.jparsec
Class Operators.Suites
java.lang.Object
org.jparsec.Operators.Suites
- Enclosing class:
Operators
A list of suites in the reverse order of the suites. Suite a is defined to be bigger than
suite b if the first element of a is longer than that of b.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
Scans the list of suites by addingv
to the first suite that claims it as a prefix.(package private) String[]
toArray()
Collapses the names in each suite by traversing the suites in reverse order, so that smaller suites are collapsed first and generally shorter operators will be placed before longer ones unless it is contained by a longer operator.
-
Field Details
-
list
-
-
Constructor Details
-
Suites
private Suites()
-
-
Method Details
-
add
Scans the list of suites by addingv
to the first suite that claims it as a prefix. If no suite claims it as prefix, it is added as a standaloneOperators.Suite
at the end of the list. -
toArray
String[] toArray()Collapses the names in each suite by traversing the suites in reverse order, so that smaller suites are collapsed first and generally shorter operators will be placed before longer ones unless it is contained by a longer operator.
-