Package org.stellar.sdk.xdr
Class ContractCostParamEntry
java.lang.Object
org.stellar.sdk.xdr.ContractCostParamEntry
ContractCostParamEntry's original definition in the XDR file is:
struct ContractCostParamEntry { // use `ext` to add more terms (e.g. higher order polynomials) in the future ExtensionPoint ext; int64 constTerm; int64 linearTerm; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionContractCostParamEntry
(ExtensionPoint ext, Int64 constTerm, Int64 linearTerm) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ContractCostParamEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ContractCostParamEntry
fromXdrBase64
(String xdr) static ContractCostParamEntry
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
setConstTerm
(Int64 constTerm) void
setExt
(ExtensionPoint ext) void
setLinearTerm
(Int64 linearTerm) toString()
default String
default byte[]
-
Constructor Details
-
ContractCostParamEntry
public ContractCostParamEntry() -
ContractCostParamEntry
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getConstTerm
-
getLinearTerm
-
setExt
-
setConstTerm
-
setLinearTerm
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-