org.hava.engine
Class HOperator
java.lang.Object
org.hava.engine.HOperator
public class HOperator
- extends java.lang.Object
Hava operator implementations.
Method Summary |
static HValue |
add(HValue a,
HValue b)
|
static HValue |
divide(HValue a,
HValue b)
|
static HValue |
listContains(HValue a,
HValue b)
|
static HValue |
listRange(HValue a,
HValue b)
|
static HValue |
logicalAnd(HValue a,
HValue b)
|
static HValue |
logicalNot(HValue a)
|
static HValue |
logicalOr(HValue a,
HValue b)
|
static HValue |
multiply(HValue a,
HValue b)
|
static HValue |
negative(HValue a)
|
static HValue |
power(HValue a,
HValue b)
|
static HValue |
relationalEqual(HValue a,
HValue b)
|
static HValue |
relationalGreaterThan(HValue a,
HValue b)
|
static HValue |
relationalGreaterThanOrEqual(HValue a,
HValue b)
|
static HValue |
relationalLessThan(HValue a,
HValue b)
|
static HValue |
relationalLessThanOrEqual(HValue a,
HValue b)
|
static HValue |
relationalUnequal(HValue a,
HValue b)
|
static HValue |
round(HValue a)
|
static HValue |
subtract(HValue a,
HValue b)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOperator
public HOperator()
add
public static HValue add(HValue a,
HValue b)
throws HException
- Throws:
HException
divide
public static HValue divide(HValue a,
HValue b)
throws HException
- Throws:
HException
listContains
public static HValue listContains(HValue a,
HValue b)
throws HException
- Throws:
HException
listRange
public static HValue listRange(HValue a,
HValue b)
throws HException
- Throws:
HException
logicalAnd
public static HValue logicalAnd(HValue a,
HValue b)
throws HException
- Throws:
HException
logicalNot
public static HValue logicalNot(HValue a)
throws HException
- Throws:
HException
logicalOr
public static HValue logicalOr(HValue a,
HValue b)
throws HException
- Throws:
HException
multiply
public static HValue multiply(HValue a,
HValue b)
throws HException
- Throws:
HException
negative
public static HValue negative(HValue a)
throws HException
- Throws:
HException
power
public static HValue power(HValue a,
HValue b)
throws HException
- Throws:
HException
relationalEqual
public static HValue relationalEqual(HValue a,
HValue b)
relationalGreaterThan
public static HValue relationalGreaterThan(HValue a,
HValue b)
throws HException
- Throws:
HException
relationalGreaterThanOrEqual
public static HValue relationalGreaterThanOrEqual(HValue a,
HValue b)
throws HException
- Throws:
HException
relationalLessThan
public static HValue relationalLessThan(HValue a,
HValue b)
throws HException
- Throws:
HException
relationalLessThanOrEqual
public static HValue relationalLessThanOrEqual(HValue a,
HValue b)
throws HException
- Throws:
HException
relationalUnequal
public static HValue relationalUnequal(HValue a,
HValue b)
round
public static HValue round(HValue a)
throws HException
- Throws:
HException
subtract
public static HValue subtract(HValue a,
HValue b)
throws HException
- Throws:
HException