com.gilt.thehand.rules.conversions

ConvertsToLong

trait ConvertsToLong extends ConvertsTo

Inherit from this to implement a rule that converts from other types to a Long.

Linear Supertypes
ConvertsTo, Rule, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConvertsToLong
  2. ConvertsTo
  3. Rule
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type InnerType = Long

    Definition Classes
    ConvertsToLongConvertsTo

Abstract Value Members

  1. abstract def matchInnerType(value: InnerType): Boolean

    Implement this in order to determine whether a given value matches the current rule.

    Implement this in order to determine whether a given value matches the current rule.

    value

    The rule is attempting to match against this value.

    returns

    Definition Classes
    ConvertsTo

Concrete 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 equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Definition Classes
    Any
  14. 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
  15. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Accept other 'Long'-like types when applicable.

    Accept other 'Long'-like types when applicable.

    Definition Classes
    ConvertsToLongConvertsTo
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. 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
  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 ConvertsTo

Inherited from Rule

Inherited from AnyRef

Inherited from Any

Ungrouped