Class Value.SetValue

  • All Implemented Interfaces:
    Value
    Enclosing interface:
    Value

    public static final class Value.SetValue
    extends Object
    implements Value
    • Constructor Detail

      • SetValue

        public SetValue​(List<Value> members)
        Parameters:
        members - the members, copied into an immutable list
        Throws:
        NullPointerException - if members is null or holds a null
    • Method Detail

      • get

        public List<Value> get()
        Returns:
        the immutable member list
      • kind

        public ValueKind kind()
        Specified by:
        kind in interface Value
        Returns:
        the discriminator identifying which variant this is