Class Types.MapType

  • All Implemented Interfaces:
    Enclosing class:

    public static class Types.MapType
    extends java.lang.Object
    implements java.lang.reflect.Type
    Map type.
    • Constructor Summary

      Constructor Description
      MapType​(java.lang.reflect.Type keyType, boolean keyIsNullable, java.lang.reflect.Type valueType, boolean valueIsNullable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.reflect.Type getKeyType()
      Returns the type of keys.
      java.lang.reflect.Type getValueType()
      Returns the type of values.
      boolean keyIsNullable()
      Returns whether keys may be null.
      boolean valueIsNullable()
      Returns whether values may be null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.reflect.Type

    • Field Detail

      • keyType

        private final java.lang.reflect.Type keyType
      • keyIsNullable

        private final boolean keyIsNullable
      • valueType

        private final java.lang.reflect.Type valueType
      • valueIsNullable

        private final boolean valueIsNullable
    • Constructor Detail

      • MapType

        public MapType​(java.lang.reflect.Type keyType,
                       boolean keyIsNullable,
                       java.lang.reflect.Type valueType,
                       boolean valueIsNullable)
    • Method Detail

      • getKeyType

        public java.lang.reflect.Type getKeyType()
        Returns the type of keys.
      • keyIsNullable

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

        public java.lang.reflect.Type getValueType()
        Returns the type of values.
      • valueIsNullable

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