@Immutable public static class AssetProof.Key extends java.lang.Object implements java.lang.Comparable<AssetProof.Key>
Constructor and Description |
---|
Key(java.lang.String id,
int age) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AssetProof.Key o) |
boolean |
equals(java.lang.Object o) |
int |
getAge() |
java.lang.String |
getId() |
int |
hashCode() |
public java.lang.String getId()
public int getAge()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(AssetProof.Key o)
compareTo
in interface java.lang.Comparable<AssetProof.Key>