com.gilt.thehand.rules.conversions
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.
The rule is attempting to match against this value.
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.
The context in which the rule attempts to match or not match.
Boolean: true if the rule matches the context; false if not.
Accept other 'Long'-like types when applicable.
Accept other 'Long'-like types when applicable.
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'.
The context on which we are attempting to match the rule; can be any type of context.
None for no match; Some(context) if the rule matches the context.
Inherit from this to implement a rule that converts from other types to a Long.