|
static Int32 | GetHashCode (Boolean value) |
| Hashes consistent with java.lang.Boolean.hashCode().
|
|
static Int32 | GetHashCode (Char value) |
| Hashes consistent with java.lang.Character.hashCode().
|
|
static Int32 | GetHashCode (DateTime value) |
| Hashes consistent with java.lang.Date.hashCode().
|
|
static Int32 | GetHashCode (DateTime^ value) |
| Hashes consistent with java.util.Date.hashCode().
|
|
static Int32 | GetHashCode (Double value) |
| Hashes consistent with java.lang.Double.hashCode().
|
|
static Int32 | GetHashCode (Int16 value) |
| Hashes consistent with java.lang.Short.hashCode().
|
|
static Int32 | GetHashCode (Int32 value) |
| Hashes consistent with java.lang.Integer.hashCode().
|
|
static Int32 | GetHashCode (Int64 value) |
| Hashes consistent with java.lang.Long.hashCode().
|
|
static Int32 | GetHashCode (Object^ value) |
| Hashes consistent with java.util.Objects.hashCode(Object).
|
|
static Int32 | GetHashCode (SByte value) |
| Hashes consistent with java.lang.Byte.hashCode().
|
|
static Int32 | GetHashCode (Single value) |
| Hashes consistent with java.lang.Float.hashCode().
|
|
static Int32 | GetHashCode (String^ value) |
| Hashes consistent with java.lang.String.hashCode().
|
|
static Int32 | GetHashCode (System::Collections::ICollection^ collection) |
| Hashes consistent with java.util.Arrays.hashCode(Object[]) or java.util.List.hashCode().
|
|
static Int32 | GetHashCode (System::Collections::IDictionary^ dictionary) |
| Hashes consistent with java.util.Map.hashCode().
|
|
static Int32 | Hash (... array< Object^>^ values) |
| Hashes consistent with java.util.Objects.hash(Object ...).
|
|
Provides hash code functions similar to those used by Geode server in Java's java.util.Objects and java.util.Arrays classes.
Example:
class CustomKey
{
private int a;
private double b;
private String c;
public CustomKey(int a, double b, String c)
{
this.a = a;
this.b = b;
this.c = c;
}
override public int GetHashCode()
{
return Objects.Hash(a, b, c);
}
};