org.qi4j.api.type
Class MapType

java.lang.Object
  extended by org.qi4j.api.type.ValueType
      extended by org.qi4j.api.type.MapType
All Implemented Interfaces:
HasTypes

public final class MapType
extends ValueType

Map ValueType.

This handles instances of Map.


Field Summary
 
Fields inherited from class org.qi4j.api.type.ValueType
types
 
Constructor Summary
MapType(java.lang.Class<?> type, ValueType keyType, ValueType valueType)
           
 
Method Summary
static boolean isMap(java.lang.reflect.Type type)
           
 ValueType keyType()
           
static MapType of(java.lang.Class<?> keyType, java.lang.Class<?> valueType)
           
 java.lang.String toString()
           
 ValueType valueType()
           
 
Methods inherited from class org.qi4j.api.type.ValueType
isPrimitiveValue, isPrimitiveValueType, isPrimitiveValueType, mainType, of, types
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapType

public MapType(java.lang.Class<?> type,
               ValueType keyType,
               ValueType valueType)
Method Detail

isMap

public static boolean isMap(java.lang.reflect.Type type)

of

public static MapType of(java.lang.Class<?> keyType,
                         java.lang.Class<?> valueType)

keyType

public ValueType keyType()

valueType

public ValueType valueType()

toString

public java.lang.String toString()
Overrides:
toString in class ValueType