com.gilt.thehand.rules.typed

StringIn

case class StringIn(values: String*) extends In with ConvertsToString with Product with Serializable

A typed implementation of the In trait, specific to String.

Linear Supertypes
Serializable, Serializable, Product, Equals, ConvertsToString, ConvertsTo, In, SeqRule, Rule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StringIn
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ConvertsToString
  7. ConvertsTo
  8. In
  9. SeqRule
  10. Rule
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringIn(values: String*)

Type Members

  1. type InnerType = String

    Definition Classes
    ConvertsToStringConvertsTo

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. def matchInnerType(value: InnerType): Boolean

    The rule matches if the value is in the list of values.

    The rule matches if the value is in the list of values.

    value

    The value to match against.

    returns

    Definition Classes
    In
  13. def matches(context: AbstractContext): Boolean

    A convenience method to be used to see if a rule matches a context.

    A convenience method to be used to see if a rule matches a context.

    context

    The context in which the rule attempts to match or not match.

    returns

    Boolean: true if the rule matches the context; false if not.

    Definition Classes
    Rule
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toRuleType: PartialFunction[Any, InnerType]

    Accepts all types of contexts.

    Accepts all types of contexts.

    Definition Classes
    ConvertsToStringConvertsTo
  19. def toString(): String

    Definition Classes
    SeqRule → AnyRef → Any
  20. def unapply(context: AbstractContext): Option[AbstractContext]

    Attempts to match the context, first looking to strictly match InnerType.

    Attempts to match the context, first looking to strictly match InnerType. It then attempts to match 'similar' types as defined by 'toRuleType'.

    context

    The context on which we are attempting to match the rule; can be any type of context.

    returns

    None for no match; Some(context) if the rule matches the context.

    Definition Classes
    ConvertsToRule
  21. val values: String*

    The list of 'InnerType' values that apply to this rule.

    The list of 'InnerType' values that apply to this rule.

    Definition Classes
    StringInSeqRule
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ConvertsToString

Inherited from ConvertsTo

Inherited from In

Inherited from SeqRule

Inherited from Rule

Inherited from AnyRef

Inherited from Any

Ungrouped