Class CV

  • All Implemented Interfaces:
    Serializable, Iterable<V>

    public class CV
    extends Object
    implements Iterable<V>, Serializable
    A composite variant specification is a tuple of variation specifications. Every value itself can be a simple value like an integer or a string or a complex table-specification.
    See Also:
    Serialized Form
    • Constructor Detail

      • CV

        public CV()
      • CV

        public CV​(V... variants)
      • CV

        public CV​(List<V> variants)
      • CV

        public CV​(CV other)
    • Method Detail

      • fromSpecs

        public static CV fromSpecs​(Object... specData)
      • fromValues

        public static CV fromValues​(Object... valueData)
      • getVariants

        public List<V> getVariants()
      • setVariants

        public void setVariants​(List<V> variants)
      • switchToValue

        public CV switchToValue()
      • switchToSpecs

        public CV switchToSpecs()
      • compose

        public static CV compose​(CV a,
                                 CV b)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromString

        public static CV fromString​(String delim,
                                    String string)
      • fromString

        public static CV fromString​(String string)
      • hasPrefix

        public boolean hasPrefix​(List<V> prefix)
      • size

        public int size()
      • get

        public V get​(int index)
      • getCVp

        public CVp getCVp()