Package org.stellar.sdk.xdr
Class AlphaNum4
java.lang.Object
org.stellar.sdk.xdr.AlphaNum4
- All Implemented Interfaces:
XdrElement
AlphaNum4's original definition in the XDR file is:
struct AlphaNum4
{
AssetCode4 assetCode;
AccountID issuer;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlphaNum4.AlphaNum4Builderbuilder()static AlphaNum4decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic AlphaNum4fromXdrBase64(String xdr) static AlphaNum4fromXdrByteArray(byte[] xdr) inthashCode()voidsetAssetCode(AssetCode4 assetCode) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
AlphaNum4
public AlphaNum4() -
AlphaNum4
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getAssetCode
-
getIssuer
-
setAssetCode
-
setIssuer
-
equals
-
hashCode
public int hashCode() -
toString
-