Package org.jparsec
Class Operators.Suites
- java.lang.Object
-
- org.jparsec.Operators.Suites
-
- Enclosing class:
- Operators
private static final class Operators.Suites extends java.lang.ObjectA 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 Modifier and Type Field Description private java.util.ArrayList<Operators.Suite>list
-
Constructor Summary
Constructors Modifier Constructor Description privateSuites()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadd(java.lang.String v)Scans the list of suites by addingvto the first suite that claims it as a prefix.(package private) java.lang.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 Detail
-
list
private final java.util.ArrayList<Operators.Suite> list
-
-
Method Detail
-
add
void add(java.lang.String v)
Scans the list of suites by addingvto the first suite that claims it as a prefix. If no suite claims it as prefix, it is added as a standaloneOperators.Suiteat the end of the list.
-
toArray
java.lang.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.
-
-