Package csw.params.core.models
Class Choices$
- java.lang.Object
-
- csw.params.core.models.Choices$
-
- All Implemented Interfaces:
java.io.Serializable
public class Choices$ extends java.lang.Object implements java.io.Serializable
Provides a varargs constructor for Choices- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Choices$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Choices
from(java.lang.String... choices)
Creates Choices from provided String valuesChoices
from(java.util.Set<java.lang.String> choices)
Choices
from(scala.collection.immutable.Seq<java.lang.String> choices)
Creates Choices from provided String valuesChoices
fromChoices(Choice... choices)
Creates Choices from provided valuesChoices
fromChoices(java.util.Set<Choice> choices)
Choices
fromChoices(scala.collection.immutable.Seq<Choice> choices)
Creates Choices from provided values
-
-
-
Field Detail
-
MODULE$
public static final Choices$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
from
public Choices from(java.lang.String... choices)
Creates Choices from provided String values- Parameters:
choices
- one or more choices in string format- Returns:
- an instance of Choices
-
fromChoices
public Choices fromChoices(Choice... choices)
Creates Choices from provided values- Parameters:
choices
- one or more choices- Returns:
- an instance of Choices
-
from
public Choices from(scala.collection.immutable.Seq<java.lang.String> choices)
Creates Choices from provided String values- Parameters:
choices
- one or more choices in string format- Returns:
- an instance of Choices
-
from
public Choices from(java.util.Set<java.lang.String> choices)
-
fromChoices
public Choices fromChoices(scala.collection.immutable.Seq<Choice> choices)
Creates Choices from provided values- Parameters:
choices
- one or more choices- Returns:
- an instance of Choices
-
-