public class AccountID extends java.lang.Object implements XdrElement
typedef PublicKey AccountID;
Constructor and Description |
---|
AccountID() |
AccountID(PublicKey AccountID) |
Modifier and Type | Method and Description |
---|---|
static AccountID |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static AccountID |
fromXdrBase64(java.lang.String xdr) |
static AccountID |
fromXdrByteArray(byte[] xdr) |
PublicKey |
getAccountID() |
int |
hashCode() |
void |
setAccountID(PublicKey AccountID) |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public AccountID()
public AccountID(PublicKey AccountID)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static AccountID decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static AccountID fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static AccountID fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public PublicKey getAccountID()
public void setAccountID(PublicKey AccountID)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object