|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.Expr<D> com.mysema.query.types.expr.ESimple<D> com.mysema.query.types.expr.EComparableBase<D> com.mysema.query.types.expr.ENumber<D> com.mysema.query.types.expr.ENumberConst<D>
D
- public final class ENumberConst<D extends Number & Comparable<?>>
ENumberConst represents numeric constants
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Method Summary | ||
---|---|---|
void |
accept(Visitor v)
|
|
|
add(Expr<N> right)
Get the sum of this and right |
|
ENumber<D> |
add(Number right)
Get the sum of this and right |
|
ENumber<Byte> |
byteValue()
Get the byte expression of this numeric expression |
|
static ENumber<Byte> |
create(byte i)
|
|
static ENumber<Integer> |
create(int i)
|
|
static ENumber<Long> |
create(long i)
|
|
static ENumber<Short> |
create(short i)
|
|
static
|
create(T val)
Factory method |
|
ENumber<Double> |
doubleValue()
Get the double expression of this numeric expression |
|
EBoolean |
eq(D b)
Get a this == right expression |
|
boolean |
equals(Object o)
|
|
ENumber<Float> |
floatValue()
Get the float expression of this numeric expression |
|
D |
getConstant()
Get the constant |
|
int |
hashCode()
|
|
ENumber<Long> |
longValue()
Get the long expression of this numeric expression |
|
EBoolean |
ne(D b)
Get a this <> right expression |
|
ENumber<Short> |
shortValue()
Get the short expression of this numeric expression |
|
|
subtract(Expr<N> right)
Get the difference of this and right |
|
ENumber<D> |
subtract(Number right)
Get the difference of this and right |
Methods inherited from class com.mysema.query.types.expr.ENumber |
---|
abs, as, avg, between, between, castToNum, ceil, divide, divide, floor, goe, goe, gt, gt, in, in, intValue, loe, loe, lt, lt, max, max, min, min, mod, mod, multiply, multiply, negate, notBetween, notBetween, notIn, random, round, sqrt, sum |
Methods inherited from class com.mysema.query.types.expr.EComparableBase |
---|
asc, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.ESimple |
---|
asExpr, count, countDistinct, eq, in, in, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
getType, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Constant |
---|
asExpr |
Method Detail |
---|
public static ENumber<Byte> create(byte i)
public static ENumber<Integer> create(int i)
public static ENumber<Long> create(long i)
public static ENumber<Short> create(short i)
public static <T extends Number & Comparable<?>> ENumber<T> create(T val)
T
- val
-
public EBoolean eq(D b)
Expr
this == right
expression
eq
in class ESimple<D extends Number & Comparable<?>>
b
- rhs of the comparison
public boolean equals(Object o)
equals
in class Expr<D extends Number & Comparable<?>>
public D getConstant()
Constant
getConstant
in interface Constant<D extends Number & Comparable<?>>
public int hashCode()
hashCode
in class Expr<D extends Number & Comparable<?>>
public EBoolean ne(D b)
Expr
this <> right
expression
ne
in class ESimple<D extends Number & Comparable<?>>
b
- rhs of the comparison
public void accept(Visitor v)
accept
in class Expr<D extends Number & Comparable<?>>
public ENumber<D> add(Number right)
ENumber
add
in class ENumber<D extends Number & Comparable<?>>
public <N extends Number & Comparable<?>> ENumber<D> add(Expr<N> right)
ENumber
add
in class ENumber<D extends Number & Comparable<?>>
public ENumber<D> subtract(Number right)
ENumber
subtract
in class ENumber<D extends Number & Comparable<?>>
public <N extends Number & Comparable<?>> ENumber<D> subtract(Expr<N> right)
ENumber
subtract
in class ENumber<D extends Number & Comparable<?>>
public ENumber<Byte> byteValue()
ENumber
byteValue
in class ENumber<D extends Number & Comparable<?>>
Number.byteValue()
public ENumber<Double> doubleValue()
ENumber
doubleValue
in class ENumber<D extends Number & Comparable<?>>
Number.doubleValue()
public ENumber<Float> floatValue()
ENumber
floatValue
in class ENumber<D extends Number & Comparable<?>>
Number.floatValue()
public ENumber<Long> longValue()
ENumber
longValue
in class ENumber<D extends Number & Comparable<?>>
Number.longValue()
public ENumber<Short> shortValue()
ENumber
shortValue
in class ENumber<D extends Number & Comparable<?>>
Number.shortValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |