- All Superinterfaces:
Comparable<StorageType>,io.hotmoka.marshalling.api.Marshallable
public interface StorageType
extends io.hotmoka.marshalling.api.Marshallable, Comparable<StorageType>
A type that can be used in the store of a Hotmoka node.
-
Method Summary
Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArray
-
Method Details
-
getName
String getName()Yields the fully-qualified name of this type.- Returns:
- the fully-qualified name
-
compareTo
Compares this storage type with another. Puts first basic types, by name, then class types ordered wrt class name.- Specified by:
compareToin interfaceComparable<StorageType>- Parameters:
other- the other type- Returns:
- negative if
thiscomes first, positive ifothercomes first, 0 if they are equal
-
isEager
boolean isEager()Determines if this type is eager.- Returns:
- true if and only if this type is eager
-
equals
-
hashCode
int hashCode() -
toString
String toString()
-