public class SCPBallot extends java.lang.Object implements XdrElement
struct SCPBallot
{
uint32 counter; // n
Value value; // x
};
| Modifier and Type | Class and Description |
|---|---|
static class |
SCPBallot.SCPBallotBuilder |
| Constructor and Description |
|---|
SCPBallot() |
SCPBallot(Uint32 counter,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
static SCPBallot.SCPBallotBuilder |
builder() |
static SCPBallot |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCPBallot |
fromXdrBase64(java.lang.String xdr) |
static SCPBallot |
fromXdrByteArray(byte[] xdr) |
Uint32 |
getCounter() |
Value |
getValue() |
int |
hashCode() |
void |
setCounter(Uint32 counter) |
void |
setValue(Value value) |
SCPBallot.SCPBallotBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static SCPBallot decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static SCPBallot fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPBallot fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPBallot.SCPBallotBuilder builder()
public SCPBallot.SCPBallotBuilder toBuilder()
public Uint32 getCounter()
public Value getValue()
public void setCounter(Uint32 counter)
public void setValue(Value value)
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