Package org.stellar.sdk.xdr
Class LedgerBounds
java.lang.Object
org.stellar.sdk.xdr.LedgerBounds
LedgerBounds's original definition in the XDR file is:
struct LedgerBounds { uint32 minLedger; uint32 maxLedger; // 0 here means no maxLedger };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerBounds
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerBounds
fromXdrBase64
(String xdr) static LedgerBounds
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setMaxLedger
(Uint32 maxLedger) void
setMinLedger
(Uint32 minLedger) toString()
default String
default byte[]
-
Constructor Details
-
LedgerBounds
public LedgerBounds() -
LedgerBounds
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getMinLedger
-
getMaxLedger
-
setMinLedger
-
setMaxLedger
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-