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 Thresholdsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ThresholdsfromXdrBase64(String xdr) static ThresholdsfromXdrByteArray(byte[] xdr) byte[]inthashCode()voidsetThresholds(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:
encodein 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
-