Class ListParameter<P extends ListParameter<P,​T>,​T>

    • Field Detail

      • SPLIT

        public static final java.util.regex.Pattern SPLIT
        A pattern defining a ",".
      • LIST_SEP

        public static final java.lang.String LIST_SEP
        List separator character - ":"
        See Also:
        Constant Field Values
      • VECTOR_SPLIT

        public static final java.util.regex.Pattern VECTOR_SPLIT
        A pattern defining a ":" or ";".
      • VECTOR_SEP

        public static final java.lang.String VECTOR_SEP
        Vector separator character - ":"
        See Also:
        Constant Field Values
    • Constructor Detail

      • ListParameter

        public ListParameter​(OptionID optionID,
                             T defaultValue)
        Constructs a list parameter with the given optionID.
        Parameters:
        optionID - the unique id of this parameter
        defaultValue - the default value of this parameter (may be null)
      • ListParameter

        public ListParameter​(OptionID optionID)
        Constructs a list parameter with the given optionID.
        Parameters:
        optionID - the unique id of this parameter
    • Method Detail

      • size

        public abstract int size()
        Size of the list.
        Returns:
        Size