SomeOpt

case class SomeOpt(id: Option[String], styles: Set[String]) extends Options

Options implementation for non-empty instances.

For creating new instances it is usually more convenient to use the various factory objects. Example for creating an instance with an id and two styles applied:

val options = Id("myId") + Styles("style1","style2")

Likewise it is also often more convenient to use the corresponding extractors for pattern matching.

trait Serializable
trait Product
trait Equals
class Options
class Object
trait Matchable
class Any

Value members

Concrete methods

def +(other: Options): Options

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product