Package com.querydsl.core.alias
Interface TypeSystem
- All Known Implementing Classes:
DefaultTypeSystem
public interface TypeSystem
TypeSystem defines an interface for detecting whether a given class conforms to a certain Collection
contract- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisCollectionType(Class<?> cl) Return whether the given class is a collection classbooleanisListType(Class<?> cl) Return whether the given class is a list classbooleanReturn whether the given class is a map classbooleanReturn whether the given class is a set class
-
Method Details
-
isCollectionType
Return whether the given class is a collection class- Parameters:
cl- class to check- Returns:
- true, if argument is a collection type
-
isSetType
Return whether the given class is a set class- Parameters:
cl- class to check- Returns:
- true, if argument is a set type
-
isListType
Return whether the given class is a list class- Parameters:
cl- class to check- Returns:
- true, if argument is a list type
-
isMapType
Return whether the given class is a map class- Parameters:
cl- class to check- Returns:
- true, if argument is a map type
-