HashCode
instead. This class is scheduled
to be removed in Guava 16.0.@Beta @Deprecated public final class HashCodes extends Object
HashCode
instances; most users should never have to use
this. All returned instances are Serializable
.Modifier and Type | Method and Description |
---|---|
static HashCode |
fromBytes(byte[] bytes)
Deprecated.
Use
HashCode.fromBytes(byte[]) instead. This method is scheduled to be removed in
Guava 16.0. |
static HashCode |
fromInt(int hash)
Deprecated.
Use
HashCode.fromInt(int) instead. This method is scheduled to be removed in
Guava 16.0. |
static HashCode |
fromLong(long hash)
Deprecated.
Use
HashCode.fromLong(long) instead. This method is scheduled to be removed in
Guava 16.0. |
@Deprecated public static HashCode fromInt(int hash)
HashCode.fromInt(int)
instead. This method is scheduled to be removed in
Guava 16.0.HashCode
, of which the bytes will form the passed int, interpreted
in little endian order.@Deprecated public static HashCode fromLong(long hash)
HashCode.fromLong(long)
instead. This method is scheduled to be removed in
Guava 16.0.HashCode
, of which the bytes will form the passed long, interpreted
in little endian order.@Deprecated public static HashCode fromBytes(byte[] bytes)
HashCode.fromBytes(byte[])
instead. This method is scheduled to be removed in
Guava 16.0.HashCode
from a byte array. The array is defensively copied to preserve
the immutability contract of HashCode
. The array cannot be empty.Copyright © 2010-2013. All Rights Reserved.