Package org.faktorips.runtime.caching
Class AbstractComputable<K,V>
java.lang.Object
org.faktorips.runtime.caching.AbstractComputable<K,V>
- All Implemented Interfaces:
IComputable<K,V>
Basic implementation of
IComputable, taking the value class as a parameter.
Use IComputable.of(Class, java.util.function.Function) instead of extending this class if
your computation method can be expressed as a method reference or short lambda expression.
-
Constructor Details
-
AbstractComputable
-
-
Method Details
-
getValueClass
Description copied from interface:IComputableGetting theClassof the value this computable produces.- Specified by:
getValueClassin interfaceIComputable<K,V>
-