T
- expression type@Immutable public final class ConstantImpl<T> extends ExpressionBase<T> implements Constant<T>
ConstantImpl
is the default implementation of the Constant
interfaceModifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
static Constant<Boolean> |
create(boolean b) |
static Constant<Byte> |
create(byte i) |
static Constant<Character> |
create(char i) |
static <T> Constant<T> |
create(Class<T> type,
T constant) |
static Constant<Integer> |
create(int i) |
static Constant<Long> |
create(long i) |
static Constant<Short> |
create(short i) |
static <T> Constant<T> |
create(T obj) |
boolean |
equals(Object o) |
T |
getConstant()
Get the wrapped constant
|
getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public static <T> Constant<T> create(T obj)
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic T getConstant()
Constant
getConstant
in interface Constant<T>
Copyright © 2007–2016 Querydsl. All rights reserved.