Class Types.MapType

  • All Implemented Interfaces:
    Type
    Enclosing class:
    Types


    public static class Types.MapType
    extends Object
    implements Type
    Map type.
    • Field Detail

      • keyType

        private final Type keyType
      • keyIsNullable

        private final boolean keyIsNullable
      • valueType

        private final Type valueType
      • valueIsNullable

        private final boolean valueIsNullable
    • Constructor Detail

      • MapType

        public MapType​(Type keyType,
                       boolean keyIsNullable,
                       Type valueType,
                       boolean valueIsNullable)
    • Method Detail

      • getKeyType

        public Type getKeyType​()
        Returns the type of keys.
      • keyIsNullable

        public boolean keyIsNullable​()
        Returns whether keys may be null.
      • getValueType

        public Type getValueType​()
        Returns the type of values.
      • valueIsNullable

        public boolean valueIsNullable​()
        Returns whether values may be null.