Standard code formatting

This commit is contained in:
Peter Lawrey
2018-04-21 10:49:49 +01:00
parent c7efd950f8
commit 9323cf28a7
270 changed files with 2801 additions and 2551 deletions
@@ -27,25 +27,25 @@ import org.jetbrains.annotations.NotNull;
*
* @param <K> type of the key in {@code ChronicleMap}
* @param <V> type of the value in {@code ChronicleMap}
*
* @see MapEntryOperations
* @see MapQueryContext#absentEntry()
*/
public interface MapAbsentEntry<K, V> extends HashAbsentEntry<K> {
@Override
@NotNull MapContext<K, V, ?> context();
@NotNull
MapContext<K, V, ?> context();
/**
* Inserts the new entry into the map, of {@linkplain #absentKey() the key} and the given {@code
* value}.
*
* <p>
* <p>This method is the default implementation for {@link MapEntryOperations#insert(
* MapAbsentEntry, Data)}, which might be customized over the default.
*MapAbsentEntry, Data)}, which might be customized over the default.
*
* @param value the value to insert into the map along with {@link #absentKey() the key}
* @throws IllegalStateException if some locking/state conditions required to perform insertion
* operation are not met
* operation are not met
* @see MapEntryOperations#insert(MapAbsentEntry, Data)
*/
void doInsert(Data<V> value);
@@ -54,7 +54,7 @@ public interface MapAbsentEntry<K, V> extends HashAbsentEntry<K> {
* Returns the <i>default</i> (or <i>nil</i>) value, that should be inserted into the map in
* this context. This is primarily used in {@link ChronicleMap#acquireUsing} operation
* implementation, i. e. {@link MapMethods#acquireUsing}.
*
* <p>
* <p>This method if the default implementation for {@link
* DefaultValueProvider#defaultValue(MapAbsentEntry)},
* which might be customized over the default.