diff --git a/src/main/java/net/openhft/hashing/LongHashFunction.java b/src/main/java/net/openhft/hashing/LongHashFunction.java index 6eb940d..350ac4a 100644 --- a/src/main/java/net/openhft/hashing/LongHashFunction.java +++ b/src/main/java/net/openhft/hashing/LongHashFunction.java @@ -33,7 +33,7 @@ * is defined by the given {@link Access} strategy to the given object. * * - *

Hash function implementation could either produce equal results for equal input on platforms + *

Hash function implementation either produces equal results for equal input on platforms * with different {@link ByteOrder}, favoring one byte order in terms of performance, or different * results, but performing equally well. This choice should be explicitly documented for all * {@code LongHashFunction} implementations. @@ -59,7 +59,7 @@ public abstract class LongHashFunction implements Serializable { /** * Returns a {@code LongHashFunction} that implements the * - * CityHash64 algorithm, version 1.1 without seed values. This implementation produce + * CityHash64 algorithm, version 1.1 without seed values. This implementation produces * equal results for equal input on platforms with different {@link ByteOrder}, but is slower * on big-endian platforms than on little-endian. * @@ -74,7 +74,7 @@ public static LongHashFunction city_1_1() { /** * Returns a hash function implementing the * - * CityHash64 algorithm, version 1.1 using the given seed value. This implementation produce + * CityHash64 algorithm, version 1.1 using the given seed value. This implementation produces * equal results for equal input on platforms with different {@link ByteOrder}, but is slower * on big-endian platforms than on little-endian. * @@ -419,7 +419,7 @@ protected LongHashFunction() { * value is interpreted in {@linkplain ByteOrder#nativeOrder() native} byte order. For example, * the result of {@code hashShort(v)} call is identical to the result of * {@code hashShorts(new short[] {v})} call for any {@code short} value. - * As a consequence, {@code hashShort(v)} call produce always the same result as {@code + * As a consequence, {@code hashShort(v)} call produces always the same result as {@code * hashChar((char) v)}. * * @param input the short value to be hashed @@ -433,7 +433,7 @@ protected LongHashFunction() { * value is interpreted in {@linkplain ByteOrder#nativeOrder() native} byte order. For example, * the result of {@code hashChar(v)} call is identical to the result of * {@code hashChars(new char[] {v})} call for any {@code char} value. - * As a consequence, {@code hashChar(v)} call produce always the same result as {@code + * As a consequence, {@code hashChar(v)} call produces always the same result as {@code * hashShort((short) v)}. * * @param input the char value to be hashed