java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.datatype.AbiType
-
Constructor Summary
ConstructorsConstructorDescriptionAbiType(AbiTypePrefix prefix) AbiType(AbiTypePrefix prefix, int size) AbiType(AbiTypePrefix prefix, int size, boolean isArray) Creates an instance of aAbiTyperecord class. -
Method Summary
Modifier and TypeMethodDescriptionabiName()static booleanarrayMatcher(String typeString) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisArray()Returns the value of theisArrayrecord component.static AbiTypeprefix()Returns the value of theprefixrecord component.intsize()Returns the value of thesizerecord component.tech.deplant.java4ever.binding.Abi.AbiParamtoAbiParam(String paramName, tech.deplant.java4ever.binding.Abi.AbiParam[] components) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AbiType
-
AbiType
-
AbiType
Creates an instance of aAbiTyperecord class.- Parameters:
prefix- the value for theprefixrecord componentsize- the value for thesizerecord componentisArray- the value for theisArrayrecord component
-
-
Method Details
-
of
- Throws:
tech.deplant.java4ever.binding.EverSdkException
-
arrayMatcher
-
toAbiParam
public tech.deplant.java4ever.binding.Abi.AbiParam toAbiParam(String paramName, tech.deplant.java4ever.binding.Abi.AbiParam[] components) -
abiName
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
prefix
Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-
size
public int size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
isArray
public boolean isArray()Returns the value of theisArrayrecord component.- Returns:
- the value of the
isArrayrecord component
-