Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Choices$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • 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 values
      Choices from​(scala.collection.immutable.Seq<java.lang.String> choices)
      Creates Choices from provided String values
      Choices fromChoices​(Choice... choices)
      Creates Choices from provided values
      Choices fromChoices​(scala.collection.immutable.Seq<Choice> choices)
      Creates Choices from provided values
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final Choices$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Choices$

        public Choices$()
    • 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
      • 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