Class Infos.Info

  • Enclosing class:
    Infos

    public static class Infos.Info
    extends Object
    This class define an info.
    • Constructor Detail

      • Info

        public Info​(String name,
                    int value)
        Constructor.
        Parameters:
        name - name of the info
        value - value of the info
      • Info

        public Info​(String name,
                    boolean value)
        Constructor.
        Parameters:
        name - name of the info
        value - value of the info
      • Info

        public Info​(String name,
                    String value)
        Constructor.
        Parameters:
        name - name of the info
        value - value of the info
      • Info

        public Info​(String name,
                    String value,
                    String defaultValue)
        Constructor.
        Parameters:
        name - name of the info
        value - value of the info
        defaultValue - default value
      • Info

        public Info​(String name,
                    List<String> values,
                    String defaultValue)
        Constructor.
        Parameters:
        name - name of the info
        values - values of the info
      • Info

        public Info​(String name,
                    List<String> values)
        Constructor.
        Parameters:
        name - name of the info
        values - values of the info
    • Method Detail

      • getName

        public String getName()
        Get the name of the information
        Returns:
        the name of the information
      • getValues

        public List<String> getValues()
        Get the value of the information
        Returns:
        the value of the information
      • maxValueLength

        public int maxValueLength()
        Get the maximal length of the values
        Returns:
        the maximal length of the values
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object