From d55da160d93e61f48e476b54b3178be22b981e3d Mon Sep 17 00:00:00 2001 From: leventov Date: Sat, 5 Dec 2015 05:39:56 +0300 Subject: [PATCH] Rename generic parameter Data -> Data --- src/main/java/net/openhft/chronicle/hash/Data.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/hash/Data.java b/src/main/java/net/openhft/chronicle/hash/Data.java index 5da863f50..a7dfbc399 100644 --- a/src/main/java/net/openhft/chronicle/hash/Data.java +++ b/src/main/java/net/openhft/chronicle/hash/Data.java @@ -35,9 +35,9 @@ import static net.openhft.chronicle.algo.bytes.Access.checkedRandomDataInputAcce * is marshalled to bytes lazily on demand, and bytes are lazily deserialized to object, * accordingly. * - * @param type of the accessed objects + * @param type of the accessed objects */ -public interface Data { +public interface Data { /** * Returns the accessor object to the {@code Data}'s bytes. For safety, this interface returns @@ -111,13 +111,13 @@ public interface Data { * *

If the {@code Data} is object wrapper -- this method just returns this object. */ - V get(); + T get(); /** * Reads the object from the value's bytes, trying to reuse the given object (might be {@code * null}). */ - V getUsing(@Nullable V using); + T getUsing(@Nullable T using); /** * Utility method, compares two {@code Data} instances represent equivalent bytes sequences: