|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.expr.Expr<D>
com.mysema.query.types.expr.EComparableBase<D>
com.mysema.query.types.expr.ENumber<D>
com.mysema.query.types.expr.ENumberConst<D>
D - public class ENumberConst<D extends Number & Comparable<?>>
ENumberConst represents numeric constants
| 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()
|
|
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, avg, between, between, castToNum, ceil, divide, divide, floor, goe, goe, gt, gt, intValue, loe, loe, lt, lt, max, max, min, min, multiply, multiply, negate, notBetween, notBetween, 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.Expr |
|---|
count, countAll, countDistinct, eq, getType, in, in, in, ne, notIn, notIn, notIn, toString, when, when |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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)
Exprthis == right expression
eq in class Expr<D extends Number & Comparable<?>>b - rhs of the comparison
public boolean equals(Object o)
equals in class Objectpublic D getConstant()
getConstant in interface Constant<D extends Number & Comparable<?>>public int hashCode()
hashCode in class Expr<D extends Number & Comparable<?>>public EBoolean ne(D b)
Exprthis <> right expression
ne in class Expr<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 | |||||||||