Class Format.Append

All Implemented Interfaces:
Formattable, Serializable, Cloneable
Enclosing class:

public static class Format.Append extends Format.Compound
Prints contained sub-formats always horizontally adjacent.
See Also:
  • Constructor Details

    • Append

      protected Append(List<Format> f)
      Constructor used by the factory methods.
    • Append

      protected Append(int i, int a, boolean m, boolean g, int ind, List<Format> f)
      Constructor used only internally by the (save) cloning methods.
  • Method Details

    • constructor

      public CompoundConstructor constructor()
      Description copied from class: Format.Compound
      Delivers the reification of the constructor, for our own "clone-with-update" replacement.
      Specified by:
      constructor in class Format.Compound
    • mutate

      public Format.Append mutate(Consumer<List<Format>> mapSubs)
      Description copied from class: Format.Compound
      Creates a new instance of the same class as this, with sub-formats altered by the given consumer function.
      Specified by:
      mutate in class Format.Compound
    • doprint

      protected void doprint(Format.FormatPrinter v)
      Description copied from class: Format
      Over-ridden by all sub-classes of Format, for performing the adquate print operations. To be printed is the raison d'ĂȘtre of Format objects. These methods do not use the Visitor/Matcher framework, but direct method invocation and basic method dispatch for descending to child nodes.
      Specified by:
      doprint in class Format