ENTITY
- the entity@GeneratedCode(value="Speedment") @FunctionalInterface public interface FloatGetter<ENTITY> extends Getter<ENTITY>
getXXX(value)
method for a
particular field in an entity.
A FloatGetter<ENTITY>
has the following signature:
interface ENTITY {
float getXXX();
}
Modifier and Type | Method and Description |
---|---|
default Float |
apply(ENTITY instance)
A generic (untyped) get method.
|
float |
applyAsFloat(ENTITY instance)
Returns the member represented by this getter in the specified instance.
|
default Function<ENTITY,Float> |
asFunction()
Returns this object, typed as a
Function method. |
float applyAsFloat(ENTITY instance)
instance
- the instance to get fromdefault Float apply(ENTITY instance)
Getter
Copyright © 2017 Speedment, Inc.. All rights reserved.