Packagecom.smartfoxserver.v2.entities.match
Classpublic class NumberMatch
InheritanceNumberMatch Inheritance Object
Implements IMatcher

The NumberMatch class is used in matching expressions to check numeric conditions.

See also

MatchExpression


Public Properties
 PropertyDefined By
  symbol : String
[read-only] Returns the condition symbol of this matcher.
NumberMatch
  type : int
[read-only] Returns the type id of this matcher.
NumberMatch
Public Constants
 ConstantDefined By
  EQUALS : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 == number2.
NumberMatch
  GREATER_THAN : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 > number2.
NumberMatch
  GREATER_THAN_OR_EQUAL_TO : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 >= number2.
NumberMatch
  LESS_THAN : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 < number2.
NumberMatch
  LESS_THAN_OR_EQUAL_TO : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 <= number2.
NumberMatch
  NOT_EQUALS : NumberMatch
[static] An instance of NumberMatch representing the following condition: number1 != number2.
NumberMatch
Property Detail
symbolproperty
symbol:String  [read-only]

Returns the condition symbol of this matcher.


Implementation
    public function get symbol():String
typeproperty 
type:int  [read-only]

Returns the type id of this matcher.


Implementation
    public function get type():int
Constant Detail
EQUALSConstant
public static const EQUALS:NumberMatch

An instance of NumberMatch representing the following condition: number1 == number2.

GREATER_THANConstant 
public static const GREATER_THAN:NumberMatch

An instance of NumberMatch representing the following condition: number1 > number2.

GREATER_THAN_OR_EQUAL_TOConstant 
public static const GREATER_THAN_OR_EQUAL_TO:NumberMatch

An instance of NumberMatch representing the following condition: number1 >= number2.

LESS_THANConstant 
public static const LESS_THAN:NumberMatch

An instance of NumberMatch representing the following condition: number1 < number2.

LESS_THAN_OR_EQUAL_TOConstant 
public static const LESS_THAN_OR_EQUAL_TO:NumberMatch

An instance of NumberMatch representing the following condition: number1 <= number2.

NOT_EQUALSConstant 
public static const NOT_EQUALS:NumberMatch

An instance of NumberMatch representing the following condition: number1 != number2.