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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionContractCostParamEntry(ExtensionPoint ext, Int64 constTerm, Int64 linearTerm) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static ContractCostParamEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic ContractCostParamEntryfromXdrBase64(String xdr) static ContractCostParamEntryfromXdrByteArray(byte[] xdr) getExt()inthashCode()voidsetConstTerm(Int64 constTerm) voidsetExt(ExtensionPoint ext) voidsetLinearTerm(Int64 linearTerm) toString()default Stringdefault 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
-