Class StyleAtom

java.lang.Object
net.sourceforge.plantuml.style.StyleAtom
All Implemented Interfaces:
Comparable<StyleAtom>

public final class StyleAtom extends Object implements Comparable<StyleAtom>
One "tag" a style declaration or a query element can carry, put under a single total order so a StyleAtomTrie can index both families together instead of keeping a separate plain/legacy split: a SName (the common, fast path -- compared by ordinal) or a stereotype name (the rarer path -- compared lexicographically). SName atoms always sort before stereotype atoms; within a family, atoms sort as described. This is exactly the "order on SName" the trie design relies on to walk a query's atoms once, in order, matching them against trie edges instead of re-testing every stored declaration.
  • Method Details