ENTITY
- the entity@Generated(value="Speedment") @FunctionalInterface public interface DoubleGetter<ENTITY> extends Getter<ENTITY>, ToDoubleFunction<ENTITY>
getXXX(value)
method for a
particular field in an entity.
A DoubleGetter<ENTITY>
has the following signature:
interface ENTITY {
double getXXX();
}
Modifier and Type | Method and Description |
---|---|
default Double |
apply(ENTITY instance)
A generic (untyped) get method.
|
double |
applyAsDouble(ENTITY instance)
Returns the member represented by this getter in the specified instance.
|
double applyAsDouble(ENTITY instance)
applyAsDouble
in interface ToDoubleFunction<ENTITY>
instance
- the instance to get fromCopyright © 2016 Speedment, Inc.. All rights reserved.