mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Moved DefaultValueProvider to the new Contexts API; removed defaultValue() SPI from MapEntryOperations (essentially replaced by DefaultValueProvider); Removed the old contexts, KeyContext and MapKeyContext completely
This commit is contained in:
@@ -57,10 +57,10 @@ public interface MapAbsentEntry<K, V> extends HashAbsentEntry<K> {
|
||||
* implementation, i. e. {@link MapMethods#acquireUsing}.
|
||||
*
|
||||
* <p>This method if the default implementation for {@link
|
||||
* MapEntryOperations#defaultValue}, which might be customized over the default.
|
||||
*
|
||||
* @return the default value to be inserted into the map
|
||||
* @see MapEntryOperations#defaultValue(MapAbsentEntry)
|
||||
* DefaultValueProvider#defaultValue(MapAbsentEntry)},
|
||||
* which might be customized over the default.
|
||||
*
|
||||
* @see DefaultValueProvider#defaultValue(MapAbsentEntry)
|
||||
*/
|
||||
@NotNull
|
||||
Data<V> defaultValue();
|
||||
|
||||
Reference in New Issue
Block a user