Class AbstractComputable<K,V>

java.lang.Object
org.faktorips.runtime.caching.AbstractComputable<K,V>
All Implemented Interfaces:
IComputable<K,V>

public abstract class AbstractComputable<K,V> extends Object implements 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

      public AbstractComputable(Class<? super V> valueClass)
  • Method Details