Package org.stellar.sdk.xdr
Class LedgerBounds
java.lang.Object
org.stellar.sdk.xdr.LedgerBounds
- All Implemented Interfaces:
XdrElement
LedgerBounds's original definition in the XDR file is:
struct LedgerBounds
{
uint32 minLedger;
uint32 maxLedger; // 0 here means no maxLedger
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerBoundsdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerBoundsfromXdrBase64(String xdr) static LedgerBoundsfromXdrByteArray(byte[] xdr) inthashCode()voidsetMaxLedger(Uint32 maxLedger) voidsetMinLedger(Uint32 minLedger) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerBounds
public LedgerBounds() -
LedgerBounds
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getMinLedger
-
getMaxLedger
-
setMinLedger
-
setMaxLedger
-
equals
-
hashCode
public int hashCode() -
toString
-