@FunctionalInterface @ParametersAreNonnullByDefault public interface Hasher
HashCode from byte sequences of arbitrary length.| Modifier and Type | Method and Description |
|---|---|
default HashCode |
hash(boolean data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(byte data)
Calculates the
HashCode of the given data. |
HashCode |
hash(byte[] data)
Calculates the
HashCode of the given byte array. |
default HashCode |
hash(char data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(double data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(float data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(int data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(long data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(short data)
Calculates the
HashCode of the given data. |
default HashCode |
hash(String data)
Calculates the
HashCode of the given data. |
@Nonnull default HashCode hash(byte data)
HashCode of the given data.data - the byte to hash@Nonnull default HashCode hash(boolean data)
HashCode of the given data.data - the boolean to hash@Nonnull default HashCode hash(char data)
HashCode of the given data.data - the char to hash@Nonnull default HashCode hash(short data)
HashCode of the given data.data - the short to hash@Nonnull default HashCode hash(int data)
HashCode of the given data.data - the int to hash@Nonnull default HashCode hash(long data)
HashCode of the given data.data - the long to hash@Nonnull default HashCode hash(float data)
HashCode of the given data.data - the float to hash@Nonnull default HashCode hash(double data)
HashCode of the given data.data - the double to hash@Nonnull default HashCode hash(String data)
HashCode of the given data.data - the string to hashCopyright © 2017–2019 Atlanmod. All rights reserved.