Interface BasicType

All Superinterfaces:
Comparable<StorageType>, io.hotmoka.marshalling.api.Marshallable, StorageType

public interface BasicType extends StorageType
A basic, primitive type of the Takamaka language.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Yields the ordinal number of this basic types.

    Methods inherited from interface io.hotmoka.marshalling.api.Marshallable

    into, size, toByteArray

    Methods inherited from interface io.hotmoka.node.api.types.StorageType

    compareTo, equals, getName, hashCode, isEager, toString
  • Method Details

    • ordinal

      byte ordinal()
      Yields the ordinal number of this basic types.
      Returns:
      the ordinal number, from 0 to 8, according to the order: boolean, byte, char, short, int, long, float, double