Package org.stellar.sdk.xdr
Class Duration
java.lang.Object
org.stellar.sdk.xdr.Duration
- All Implemented Interfaces:
XdrElement
Duration's original definition in the XDR file is:
typedef uint64 Duration;
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Durationdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic DurationfromXdrBase64(String xdr) static DurationfromXdrByteArray(byte[] xdr) inthashCode()voidsetDuration(Uint64 Duration) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
Duration
public Duration() -
Duration
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
getDuration
-
setDuration
-
equals
-
hashCode
public int hashCode() -
toString
-