(Object key)
| 3986 | } |
| 3987 | |
| 3988 | @Nullable V getIfPresent(Object key) { |
| 3989 | int hash = hash(checkNotNull(key)); |
| 3990 | V value = segmentFor(hash).get(key, hash); |
| 3991 | if (value == null) { |
| 3992 | globalStatsCounter.recordMisses(1); |
| 3993 | } else { |
| 3994 | globalStatsCounter.recordHits(1); |
| 3995 | } |
| 3996 | return value; |
| 3997 | } |
| 3998 | |
| 3999 | @Override |
| 4000 | public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { |
nothing calls this directly
no test coverage detected