public static < V extends Value > ValueList < V > getInstance ( V ... value ) { ValueList < V > result = new ValueList <> ( value . length ) ; for ( V val : value ) { result . add ( val ) ; } return result ; }
Creates a list of the provided elements in the same order .