public final class LedgerBounds
extends java.lang.Object
| Constructor and Description |
|---|
LedgerBounds(long minLedger,
long maxLedger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static LedgerBounds |
fromXdr(LedgerBounds xdrLedgerBounds)
Creates a new LedgerBounds object.
|
long |
getMaxLedger()
Maximum ledger sequence number of the transaction.
|
long |
getMinLedger()
Minimum ledger sequence number of the transaction.
|
int |
hashCode() |
java.lang.String |
toString() |
LedgerBounds |
toXdr()
Returns the XDR LedgerBounds object.
|
public static LedgerBounds fromXdr(LedgerBounds xdrLedgerBounds)
xdrLedgerBounds - XDR LedgerBounds object to convert.public LedgerBounds toXdr()
public long getMinLedger()
public long getMaxLedger()
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