Class MCCollectionTypeRelations
java.lang.Object
de.monticore.types.mccollectiontypes.types3.util.MCCollectionTypeRelations
- All Implemented Interfaces:
IMCCollectionTypeRelations
@Deprecated
public class MCCollectionTypeRelations
extends Object
implements IMCCollectionTypeRelations
Deprecated.
integrated into MCCollectionSymTypesRelations
relations for built-in Collection SymTypes of MCCollectionTypes
these are List, Set, Optional, Map
This does NOT include types that inherit from collection types
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.booleanDeprecated.due to bad naming, use isMCCollectionbooleanisList(SymTypeExpression type) Deprecated.booleanisMap(SymTypeExpression type) Deprecated.booleanDeprecated.whether the type is one of the four collection types from MCCollectionTypes; List, Set, Optional, MapbooleanisOptional(SymTypeExpression type) Deprecated.booleanisSet(SymTypeExpression type) Deprecated.protected booleanisSpecificCollection(SymTypeExpression type, String unboxedName, String boxedName, int numberOfArgs) Deprecated.
-
Constructor Details
-
MCCollectionTypeRelations
public MCCollectionTypeRelations()Deprecated.
-
-
Method Details
-
isMCCollection
Deprecated.whether the type is one of the four collection types from MCCollectionTypes; List, Set, Optional, Map -
isCollection
Deprecated.due to bad naming, use isMCCollectionwhether the type is one of the four collection types from MCCollectionTypes; List, Set, Optional, Map- Specified by:
isCollectionin interfaceIMCCollectionTypeRelations
-
isList
Deprecated.- Specified by:
isListin interfaceIMCCollectionTypeRelations
-
isSet
Deprecated.- Specified by:
isSetin interfaceIMCCollectionTypeRelations
-
isOptional
Deprecated.- Specified by:
isOptionalin interfaceIMCCollectionTypeRelations
-
isMap
Deprecated.- Specified by:
isMapin interfaceIMCCollectionTypeRelations
-
getCollectionElementType
Deprecated.- Specified by:
getCollectionElementTypein interfaceIMCCollectionTypeRelations- Returns:
- the Element type of a collection. In case of a Map, this is the value type.
-
getMapKeyType
Deprecated.- Specified by:
getMapKeyTypein interfaceIMCCollectionTypeRelations
-
isSpecificCollection
protected boolean isSpecificCollection(SymTypeExpression type, String unboxedName, String boxedName, int numberOfArgs) Deprecated.
-