Package org.stellar.sdk.xdr
Class Thresholds
java.lang.Object
org.stellar.sdk.xdr.Thresholds
- All Implemented Interfaces:
XdrElement
Thresholds's original definition in the XDR file is:
typedef opaque Thresholds[4];
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Thresholds
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static Thresholds
fromXdrBase64
(String xdr) static Thresholds
fromXdrByteArray
(byte[] xdr) byte[]
int
hashCode()
void
setThresholds
(byte[] Thresholds) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Thresholds
public Thresholds() -
Thresholds
public Thresholds(byte[] Thresholds)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getThresholds
public byte[] getThresholds() -
setThresholds
public void setThresholds(byte[] Thresholds) -
equals
-
hashCode
public int hashCode() -
toString
-