org.qi4j.api.type
Class CollectionType
java.lang.Object
org.qi4j.api.type.ValueType
org.qi4j.api.type.CollectionType
- All Implemented Interfaces:
- HasTypes
public final class CollectionType
- extends ValueType
Collection ValueType.
This handles Collection, List and Set types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionType
public CollectionType(java.lang.Class<?> type,
ValueType collectedType)
isCollection
public static boolean isCollection(java.lang.reflect.Type type)
collectionOf
public static CollectionType collectionOf(java.lang.Class<?> collectedType)
listOf
public static CollectionType listOf(java.lang.Class<?> collectedType)
setOf
public static CollectionType setOf(java.lang.Class<?> collectedType)
collectedType
public ValueType collectedType()
toString
public java.lang.String toString()
- Overrides:
toString
in class ValueType