Interface HasValues<T extends HasValues<T>>

  • All Known Subinterfaces:
    AnonymousValue, InvocationValue

    public interface HasValues<T extends HasValues<T>>
    Trait representing a type that has multiple values, like a method or constructor invocation.
    Since:
    2.4.6
    Author:
    Emil Forslund
    • Method Detail

      • add

        default <E> T add​(Value<E> generic)
        Adds the specified Value to this model.
        Type Parameters:
        E - the type of the generic value
        Parameters:
        generic - the new child
        Returns:
        a reference to this
      • getValues

        List<Value<?>> getValues()
        Returns a list of all the values in this model.

        The list returned must be mutable for changes!

        Returns:
        the values