- Type Parameters:
ENTITY- the entity type
- All Known Subinterfaces:
BooleanGetter<ENTITY>,ByteGetter<ENTITY>,CharGetter<ENTITY>,DoubleGetter<ENTITY>,FloatGetter<ENTITY>,GetBoolean<ENTITY>,GetByte<ENTITY>,GetChar<ENTITY>,GetDouble<ENTITY>,GetFloat<ENTITY>,GetInt<ENTITY>,GetLong<ENTITY>,GetReference<ENTITY,,T> GetShort<ENTITY>,IntGetter<ENTITY>,LongGetter<ENTITY>,ReferenceGetter<ENTITY,,V> ShortGetter<ENTITY>
public interface Getter<ENTITY>
- Since:
- 3.0.0
- Author:
- Emil Forslund
-
Method Summary
-
Method Details
-
apply
A generic (untyped) get method.- Parameters:
entity- the entity to get from- Returns:
- the value
-
asFunction
Returns this object, typed as aFunctionmethod.- Returns:
- this object as a function
-