Class Parameter


  • public final class Parameter
    extends Object
    Represents a parameter form an input parameter testModel for combinatorial testing. As such it has a descriptive and unique name (at least unique inside its input parameter testModel), and a list of arbitrary many values.
    • Constructor Detail

      • Parameter

        public Parameter​(String name,
                         Collection<Value> values)
        Creates a new parameter with the given name and values.
        Parameters:
        name - the parameters name. Should be unique inside its input parameter testModel. Must not be null
        values - the values of the parameter. Must not be, nor contain null, and there need to be at least two value. Additionally, each value id may only appear once
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the parameter. Should be unique inside its input parameter testModel
      • getValues

        public List<Value> getValues()
        Returns:
        all values of this parameter
      • size

        public int size()
        Returns:
        the number of values this parameter has
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object