Class RomanList

  • All Implemented Interfaces:
    Element, TextElementArray

    public class RomanList
    extends List
    A special-version of LIST which use roman-letters.
    See Also:
    List
    • Constructor Detail

      • RomanList

        public RomanList()
        Initialization
      • RomanList

        public RomanList​(int symbolIndent)
        Initialization
        Parameters:
        symbolIndent - indent
      • RomanList

        public RomanList​(boolean lowercase,
                         int symbolIndent)
        Initialization
        Parameters:
        lowercase - roman-char in lowercase
        symbolIndent - indent
    • Method Detail

      • add

        public boolean add​(Element o)
        Adds an Element to the List.
        Specified by:
        add in interface TextElementArray
        Overrides:
        add in class List
        Parameters:
        o - the element to add.
        Returns:
        true if adding the element succeeded
      • add

        public boolean add​(java.lang.String s)
        Adds a String to the List.
        Overrides:
        add in class List
        Parameters:
        s - the string to add.
        Returns:
        true if adding the string succeeded