Constructs a new CacheBuilder instance with the settings specified in spec. @since 12.0
(CacheBuilderSpec spec)
| 253 | */ |
| 254 | |
| 255 | @GwtIncompatible // To be supported |
| 256 | public static CacheBuilder<Object, Object> from(CacheBuilderSpec spec) { |
| 257 | return spec.toCacheBuilder().lenientParsing(); |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * Constructs a new {@code CacheBuilder} instance with the settings specified in {@code spec}. |
nothing calls this directly
no test coverage detected