Module swim.args
Package swim.args

Class Opt

    • Method Detail

      • of

        public static Opt of​(String name,
                             char flag)
      • flag

        public char flag()
      • flag

        public Opt flag​(char flag)
      • arg

        public Opt arg​(Arg arg)
      • defs

        public int defs()
      • isDefined

        public boolean isDefined()
      • getArg

        public Arg getArg()
      • getArg

        public Arg getArg​(int index)
      • getValue

        public String getValue()
      • getValue

        public String getValue​(int index)
      • parse

        public int parse​(String[] params,
                         int paramIndex)
      • canEqual

        public boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        hashCode in class Object
      • debug

        public void debug​(Output<?> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug