Class NullType


  • public class NullType
    extends Type
    This class represents the type of null.
    Version:
    0.1
    Author:
    Michael Bouschen
    • Method Detail

      • isCompatibleWith

        public boolean isCompatibleWith​(Type type)
        An NullType object is compatible to - the errorType object - an object of type NullType (to itself) - an object of type ClassType
        Specified by:
        isCompatibleWith in class Type
        Parameters:
        type - the type this is checked with.
        Returns:
        true if this is compatible with type; false otherwise.