Class PrimitiveTypeFactory


  • public class PrimitiveTypeFactory
    extends Object
    This models a factory of primitive types.

    • Constructor Detail

      • PrimitiveTypeFactory

        public PrimitiveTypeFactory​(scala.collection.immutable.Map<String,​PrimitiveType> map)
    • Method Detail

      • contains

        public boolean contains​(String primType)
        Tells whether this factory contains the given primitive type.

        Parameters:
        primType - primitive type
        Returns:
        true if and only if this factory contains the given primitive type
      • getType

        public scala.Option<PrimitiveType> getType​(String typeName)
        Returns the type for the given name

        Parameters:
        typeName - type name
        Returns: