(Strength strength)
| 539 | } |
| 540 | |
| 541 | CacheBuilder<K, V> setKeyStrength(Strength strength) { |
| 542 | checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); |
| 543 | keyStrength = checkNotNull(strength); |
| 544 | return this; |
| 545 | } |
| 546 | |
| 547 | Strength getKeyStrength() { |
| 548 | return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); |
no test coverage detected