From 4f8bdfb0a356c556c4705788c7404fb5205e1c13 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Thu, 13 Nov 2014 12:44:50 +0000 Subject: [PATCH] mmm something was wrong witht the pre tag.. not sure what. --- .../java/net/openhft/chronicle/map/ChronicleMap.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/ChronicleMap.java b/src/main/java/net/openhft/chronicle/map/ChronicleMap.java index f72e313e2..11da2bb77 100644 --- a/src/main/java/net/openhft/chronicle/map/ChronicleMap.java +++ b/src/main/java/net/openhft/chronicle/map/ChronicleMap.java @@ -153,14 +153,17 @@ public interface ChronicleMap extends ConcurrentMap, ChronicleHash { * #getUsing}, {@code usingValue} could safely be {@code null}, in this case a new value instance is * created to deserialize the data. * - *

In code, {@code acquireUsing} is specified as

{@code
+     * 
In code, {@code acquireUsing} is specified as  {@code
      * V acquireUsing(K key, V usingValue) {
      *     if (!containsKey(key))
      *         put(key, defaultValue(key));
      *     return getUsing(key, usingValue);
-     * }}
Where {@code defaultValue(key)} returns either {@linkplain - * AbstractChronicleMapBuilder#defaultValue(Object) default value} or {@link - * AbstractChronicleMapBuilder#defaultValueProvider(DefaultValueProvider) defaultValueProvider.} + * }}
+ * + * + * Where {@code defaultValue(key)} returns either {@linkplain AbstractChronicleMapBuilder#defaultValue(Object) + * default value} or {@link AbstractChronicleMapBuilder#defaultValueProvider(DefaultValueProvider) + * defaultValueProvider.} * *

If the {@code ChronicleMap} is off-heap updatable, i. e. created via {@link * OffHeapUpdatableChronicleMapBuilder} builder (values are {@link Byteable}), there is one more option of