Package org.jparsec
Class Operators.Suite
java.lang.Object
org.jparsec.Operators.Suite
- Enclosing class:
Operators
A suite is a list of overlapping operators, where some operators are prefixes of other
operators. If operator foo is a prefix of operator bar, it is listed after bar.
For example ["==", "="]. Empty strings are ignored.
Upon a new string is added, We scan from the end of the list until a string is found to contain it, in which case, the new string is added right after the position.
With the critical requirement that longer strings are added before shorter ones, prefixes are always inserted later than prefixees.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
list
-
-
Constructor Details
-
Suite
Suite(String s)
-
-
Method Details
-
add
-