Interface Type

All Known Implementing Classes:
AnyType, BinaryType, BooleanType, DateTimeType, DecimalType, DictType, DoubleType, FunctionType, ListType, LongType, StringType, VoidType

public interface Type
  • Method Details

    • name

      String name()
    • isAny

      boolean isAny()
    • isVoid

      boolean isVoid()
    • isString

      boolean isString()
    • isNumeric

      boolean isNumeric()
    • isLong

      boolean isLong()
    • isDouble

      boolean isDouble()
    • isDateTime

      boolean isDateTime()
    • isDecimal

      boolean isDecimal()
    • isBoolean

      boolean isBoolean()
    • isBinary

      boolean isBinary()
    • isDict

      boolean isDict()
    • isList

      boolean isList()
    • isContainer

      boolean isContainer()
    • isFunction

      boolean isFunction()
    • canAttemptCastTo

      boolean canAttemptCastTo(Type type)
    • canAttemptCastFrom

      boolean canAttemptCastFrom(Type type)
    • castFrom

      Value castFrom(Value x)
    • valueHash

      int valueHash(Value x)
    • valueEquals

      boolean valueEquals(Value x, Value o)
    • valueAndTypeEquals

      boolean valueAndTypeEquals(Value x, Value o)
    • valueIdentical

      boolean valueIdentical(Value x, Value o)
    • getId

      byte getId()