Package csw.params.core.models
Class JStruct
- java.lang.Object
-
- csw.params.core.models.JStruct
-
public class JStruct extends java.lang.Object
A helper instance aJava
-
-
Constructor Summary
Constructors Constructor Description JStruct()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Struct
create(Parameter<?>... data)
Create a new Struct instance when a parameter is added or removedstatic Struct
create(java.util.Set<Parameter<?>> data)
Create a new Struct instance when a parameter is added or removedstatic Struct
create(scala.collection.immutable.Seq<Parameter<?>> data)
Create a new Struct instance when a parameter is added or removed
-
-
-
Method Detail
-
create
public static Struct create(Parameter<?>... data)
Create a new Struct instance when a parameter is added or removed- Parameters:
data
- one or more parameters- Returns:
- a new instance of Struct with provided data
-
create
public static Struct create(scala.collection.immutable.Seq<Parameter<?>> data)
Create a new Struct instance when a parameter is added or removed- Parameters:
data
- one or more parameters- Returns:
- a new instance of Struct with provided data
-
-