(CacheToken<T> token, U a, U b)
| 8 | |
| 9 | public class MatchingCache { |
| 10 | @SuppressWarnings("unchecked") |
| 11 | public <T, U extends Matchable<U>> T get(CacheToken<T> token, U a, U b) { |
| 12 | return (T) cache.get(new CacheKey<U>(token, a, b)); |
| 13 | } |
| 14 | |
| 15 | @SuppressWarnings("unchecked") |
| 16 | public <T, U extends Matchable<U>> T compute(CacheToken<T> token, U a, U b, BiFunction<U, U, T> f) { |
no outgoing calls
no test coverage detected