public class LedgerBounds extends java.lang.Object implements XdrElement
struct LedgerBounds
{
uint32 minLedger;
uint32 maxLedger; // 0 here means no maxLedger
};
| Modifier and Type | Class and Description |
|---|---|
static class |
LedgerBounds.LedgerBoundsBuilder |
| Constructor and Description |
|---|
LedgerBounds() |
LedgerBounds(Uint32 minLedger,
Uint32 maxLedger) |
| Modifier and Type | Method and Description |
|---|---|
static LedgerBounds.LedgerBoundsBuilder |
builder() |
static LedgerBounds |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static LedgerBounds |
fromXdrBase64(java.lang.String xdr) |
static LedgerBounds |
fromXdrByteArray(byte[] xdr) |
Uint32 |
getMaxLedger() |
Uint32 |
getMinLedger() |
int |
hashCode() |
void |
setMaxLedger(Uint32 maxLedger) |
void |
setMinLedger(Uint32 minLedger) |
LedgerBounds.LedgerBoundsBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static LedgerBounds decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static LedgerBounds fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerBounds fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static LedgerBounds.LedgerBoundsBuilder builder()
public LedgerBounds.LedgerBoundsBuilder toBuilder()
public Uint32 getMinLedger()
public Uint32 getMaxLedger()
public void setMinLedger(Uint32 minLedger)
public void setMaxLedger(Uint32 maxLedger)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object