public interface IComputable<K,V>
| Modifier and Type | Method and Description |
|---|---|
V |
compute(K key)
Compute an object of type V identified by the key of type K
|
Class<? super V> |
getValueClass()
Getting the
Class of the value this computable produces. |
V compute(K key) throws InterruptedException
key - the key to identify the objectInterruptedException - When computation was interruptedCopyright © 2021. All rights reserved.