From 7f3c4ecf9abb89537190817bba326e04a1d194ec Mon Sep 17 00:00:00 2001 From: anschrammh Date: Sun, 19 Dec 2021 13:06:33 +0100 Subject: [PATCH] Started to add 2 new List classes (ArrayList and LinkedList --- documentation/app_class_diagram.mdj | 1568 +++++++++++++++++++++++++-- 1 file changed, 1507 insertions(+), 61 deletions(-) diff --git a/documentation/app_class_diagram.mdj b/documentation/app_class_diagram.mdj index 35799ba..18eb3c4 100644 --- a/documentation/app_class_diagram.mdj +++ b/documentation/app_class_diagram.mdj @@ -8323,8 +8323,8 @@ }, "font": "Arial;13;1", "left": 2173, - "top": 831, - "width": 406.48486328125, + "top": 849, + "width": 396.48486328125, "height": 13, "text": "Dictionary" }, @@ -8358,8 +8358,8 @@ ], "font": "Arial;13;0", "left": 2168, - "top": 824, - "width": 416.48486328125, + "top": 842, + "width": 406.48486328125, "height": 25, "stereotypeLabel": { "$ref": "AAAAAAFpizuAUD4Oi+A=" @@ -8395,8 +8395,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 854, - "width": 406.48486328125, + "top": 872, + "width": 396.48486328125, "height": 13, "text": "#parameter: char *", "horizontalAlignment": 0 @@ -8412,8 +8412,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 869, - "width": 406.48486328125, + "top": 887, + "width": 396.48486328125, "height": 13, "text": "#value: T*", "horizontalAlignment": 0 @@ -8429,8 +8429,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 884, - "width": 406.48486328125, + "top": 902, + "width": 396.48486328125, "height": 13, "text": "#next: Dictionary*", "horizontalAlignment": 0 @@ -8446,8 +8446,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 899, - "width": 406.48486328125, + "top": 917, + "width": 396.48486328125, "height": 13, "text": "#head: Dictionary*", "horizontalAlignment": 0 @@ -8455,8 +8455,8 @@ ], "font": "Arial;13;0", "left": 2168, - "top": 849, - "width": 416.48486328125, + "top": 867, + "width": 406.48486328125, "height": 68 }, { @@ -8480,8 +8480,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 922, - "width": 406.48486328125, + "top": 940, + "width": 396.48486328125, "height": 13, "text": "+Dictionary()", "horizontalAlignment": 0 @@ -8497,8 +8497,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 937, - "width": 406.48486328125, + "top": 955, + "width": 396.48486328125, "height": 13, "text": "+Dictionary(dictionaryToCopy: const Dictionary&)", "horizontalAlignment": 0 @@ -8514,8 +8514,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 952, - "width": 406.48486328125, + "top": 970, + "width": 396.48486328125, "height": 13, "text": "+~Dictionary()", "horizontalAlignment": 0 @@ -8531,8 +8531,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 967, - "width": 406.48486328125, + "top": 985, + "width": 396.48486328125, "height": 13, "text": "+add(parameter: const char *, value: T*): boolean", "horizontalAlignment": 0 @@ -8548,8 +8548,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 982, - "width": 406.48486328125, + "top": 1000, + "width": 396.48486328125, "height": 13, "text": "+add(parameter: const char *, value: T): boolean", "horizontalAlignment": 0 @@ -8565,8 +8565,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 997, - "width": 406.48486328125, + "top": 1015, + "width": 396.48486328125, "height": 13, "text": "+add(indice: int, value: T*): boolean", "horizontalAlignment": 0 @@ -8582,8 +8582,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1012, - "width": 406.48486328125, + "top": 1030, + "width": 396.48486328125, "height": 13, "text": "+add(indice: int, value: T): boolean", "horizontalAlignment": 0 @@ -8599,8 +8599,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1027, - "width": 406.48486328125, + "top": 1045, + "width": 396.48486328125, "height": 13, "text": "+remove(parameter: const char *): boolean", "horizontalAlignment": 0 @@ -8616,8 +8616,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1042, - "width": 406.48486328125, + "top": 1060, + "width": 396.48486328125, "height": 13, "text": "+get(parameter: const char *): T*", "horizontalAlignment": 0 @@ -8633,8 +8633,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1057, - "width": 406.48486328125, + "top": 1075, + "width": 396.48486328125, "height": 13, "text": "+get(index: const unsigned int): T*", "horizontalAlignment": 0 @@ -8650,8 +8650,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1072, - "width": 406.48486328125, + "top": 1090, + "width": 396.48486328125, "height": 13, "text": "+operator()(parameter: const char*): T*", "horizontalAlignment": 0 @@ -8667,8 +8667,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1087, - "width": 406.48486328125, + "top": 1105, + "width": 396.48486328125, "height": 13, "text": "+operator()(index: const unsigned int): T*", "horizontalAlignment": 0 @@ -8684,8 +8684,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1102, - "width": 406.48486328125, + "top": 1120, + "width": 396.48486328125, "height": 13, "text": "+count(): unsigned int", "horizontalAlignment": 0 @@ -8701,8 +8701,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1117, - "width": 406.48486328125, + "top": 1135, + "width": 396.48486328125, "height": 13, "text": "+clear(): void", "horizontalAlignment": 0 @@ -8718,8 +8718,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1132, - "width": 406.48486328125, + "top": 1150, + "width": 396.48486328125, "height": 13, "text": "+dispose(): void", "horizontalAlignment": 0 @@ -8735,8 +8735,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1147, - "width": 406.48486328125, + "top": 1165, + "width": 396.48486328125, "height": 13, "text": "+const stringValue(): const char*", "horizontalAlignment": 0 @@ -8752,8 +8752,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1162, - "width": 406.48486328125, + "top": 1180, + "width": 396.48486328125, "height": 13, "text": "+const getParameter(): const char *", "horizontalAlignment": 0 @@ -8769,8 +8769,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1177, - "width": 406.48486328125, + "top": 1195, + "width": 396.48486328125, "height": 13, "text": "#Dictionary(parameter: const char *, value: const char*)", "horizontalAlignment": 0 @@ -8786,8 +8786,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1192, - "width": 406.48486328125, + "top": 1210, + "width": 396.48486328125, "height": 13, "text": "#addNewNodeAtTheEnd(node: Dictionary*): boolean", "horizontalAlignment": 0 @@ -8803,8 +8803,8 @@ }, "font": "Arial;13;0", "left": 2173, - "top": 1207, - "width": 406.48486328125, + "top": 1225, + "width": 396.48486328125, "height": 13, "text": "#isListEmpty(node: Dictionary): boolean", "horizontalAlignment": 0 @@ -8812,8 +8812,8 @@ ], "font": "Arial;13;0", "left": 2168, - "top": 917, - "width": 416.48486328125, + "top": 935, + "width": 406.48486328125, "height": 308 }, { @@ -8841,12 +8841,30 @@ "model": { "$ref": "AAAAAAFpizuATz4KOaE=" }, - "visible": false, + "subViews": [ + { + "_type": "UMLTemplateParameterView", + "_id": "AAAAAAF3d7JOXdF06zQ=", + "_parent": { + "$ref": "AAAAAAFpizuAUD4V3qQ=" + }, + "model": { + "$ref": "AAAAAAF3d7JOFtFZ5Jg=" + }, + "font": "Arial;13;0", + "left": 2570.5439453125, + "top": 829, + "width": 7.94091796875, + "height": 13, + "text": "T", + "horizontalAlignment": 0 + } + ], "font": "Arial;13;0", - "left": 168, - "top": -340, - "width": 10, - "height": 10 + "left": 2565.5439453125, + "top": 824, + "width": 17.94091796875, + "height": 23 } ], "font": "Arial;13;0", @@ -13970,6 +13988,997 @@ "headQualifiersCompartment": { "$ref": "AAAAAAFqZZd6/I9t+3Q=" } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAF3d6sTFnip+KY=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAF3d6sTFniqcHU=", + "_parent": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAF3d6sTFnirBlQ=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniqcHU=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -128, + "top": -80, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6sTFnisPqU=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniqcHU=" + }, + "font": "Arial;13;1", + "left": 2861, + "top": 433, + "width": 285, + "height": 13, + "text": "List" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6sTFnitpE4=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniqcHU=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -128, + "top": -80, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6sTFniucIM=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniqcHU=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -128, + "top": -80, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 2856, + "top": 426, + "width": 295, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAF3d6sTFnirBlQ=" + }, + "nameLabel": { + "$ref": "AAAAAAF3d6sTFnisPqU=" + }, + "namespaceLabel": { + "$ref": "AAAAAAF3d6sTFnitpE4=" + }, + "propertyLabel": { + "$ref": "AAAAAAF3d6sTFniucIM=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAF3d6sTFnivqFo=", + "_parent": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "font": "Arial;13;0", + "left": 2856, + "top": 451, + "width": 295, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAF3d6sTFniwjvs=", + "_parent": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7ASfa5n3Bg=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7ASNq5A40I=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 466, + "width": 285, + "height": 13, + "text": "+addFirst(element: T): boolean", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7RZDACGj1c=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7RYwgBf/Hg=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 481, + "width": 285, + "height": 13, + "text": "+add(element: T): boolean", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7/BbBPF8LY=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7/BFxOeEXg=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 496, + "width": 285, + "height": 13, + "text": "+remove(index: size_t): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7Vd5ARwqpw=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7VdmARJmGY=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 511, + "width": 285, + "height": 13, + "text": "+removeFirst(): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7+qeRKcGbQ=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7+qIRJ1k20=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 526, + "width": 285, + "height": 13, + "text": "+removeLast(): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7fQawygBZU=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7fQJAx5YjU=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 541, + "width": 285, + "height": 13, + "text": "+get(index: size_t): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7UB7AIe8Y8=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7UBnQH3D3M=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 556, + "width": 285, + "height": 13, + "text": "+getFirst(): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d7VGCQNHYTg=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d7VFtgMgUHw=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 571, + "width": 285, + "height": 13, + "text": "+getLast(): T", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d8JyUSNg0is=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d8JyByM51WM=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 586, + "width": 285, + "height": 13, + "text": "+contains(element: T): int64_t", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d8E7DyDz0kY=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d8E6xyDMqX8=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 601, + "width": 285, + "height": 13, + "text": "+count(): size_t", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3d695k54NJk0=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3d695Qp3m/WA=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 616, + "width": 285, + "height": 13, + "text": "+clear(): size_t", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3eFnOXil7NXk=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3eFnOCilU/6c=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 631, + "width": 285, + "height": 13, + "text": "+dispose(): size_t", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3eJZr2C2ZoZY=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3eJZrjC1ysGg=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 646, + "width": 285, + "height": 13, + "text": "-shiftArray(place: int64_t, from: size_t): void", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3eJfyry+c9xY=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3eJfyYi91fuM=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 661, + "width": 285, + "height": 13, + "text": "-allocateMore(): boolean", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAF3eMgjIjEx2ZU=", + "_parent": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "model": { + "$ref": "AAAAAAF3eMgi1TEKfx0=" + }, + "font": "Arial;13;0", + "left": 2861, + "top": 676, + "width": 285, + "height": 13, + "text": "-allocateLess(): boolean", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 2856, + "top": 461, + "width": 295, + "height": 233 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAF3d6sTF3ixOJk=", + "_parent": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -64, + "top": -40, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAF3d6sTF3iyWXA=", + "_parent": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "model": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "subViews": [ + { + "_type": "UMLTemplateParameterView", + "_id": "AAAAAAF3d7Hc+sPU/JA=", + "_parent": { + "$ref": "AAAAAAF3d6sTF3iyWXA=" + }, + "model": { + "$ref": "AAAAAAF3d7HcsMOt2TI=" + }, + "font": "Arial;13;0", + "left": 3147.05908203125, + "top": 413, + "width": 7.94091796875, + "height": 13, + "text": "T", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 3142.05908203125, + "top": 408, + "width": 17.94091796875, + "height": 23 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 2856, + "top": 408, + "width": 305, + "height": 286, + "nameCompartment": { + "$ref": "AAAAAAF3d6sTFniqcHU=" + }, + "attributeCompartment": { + "$ref": "AAAAAAF3d6sTFnivqFo=" + }, + "operationCompartment": { + "$ref": "AAAAAAF3d6sTFniwjvs=" + }, + "receptionCompartment": { + "$ref": "AAAAAAF3d6sTF3ixOJk=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAF3d6sTF3iyWXA=" + } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAF3d6tlg3qoe3k=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAF3d6tlg3qp/0Y=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAF3d6tlg3qqdOg=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qp/0Y=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -672, + "top": -304, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6tlg3qr0as=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qp/0Y=" + }, + "font": "Arial;13;1", + "left": 2629, + "top": 847, + "width": 287, + "height": 13, + "text": "ArrayList" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6tlg3qsagc=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qp/0Y=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -672, + "top": -304, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6tlg3qt44w=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qp/0Y=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -672, + "top": -304, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 2624, + "top": 840, + "width": 297, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAF3d6tlg3qqdOg=" + }, + "nameLabel": { + "$ref": "AAAAAAF3d6tlg3qr0as=" + }, + "namespaceLabel": { + "$ref": "AAAAAAF3d6tlg3qsagc=" + }, + "propertyLabel": { + "$ref": "AAAAAAF3d6tlg3qt44w=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAF3d6tlg3quoj0=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "font": "Arial;13;0", + "left": 2624, + "top": 865, + "width": 297, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAF3d6tlg3qv+CA=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "font": "Arial;13;0", + "left": 2624, + "top": 875, + "width": 297, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAF3d6tlg3qwuAQ=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -336, + "top": -152, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAF3d6tlg3qxgdM=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "model": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -336, + "top": -152, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 2624, + "top": 840, + "width": 297, + "height": 385, + "nameCompartment": { + "$ref": "AAAAAAF3d6tlg3qp/0Y=" + }, + "attributeCompartment": { + "$ref": "AAAAAAF3d6tlg3quoj0=" + }, + "operationCompartment": { + "$ref": "AAAAAAF3d6tlg3qv+CA=" + }, + "receptionCompartment": { + "$ref": "AAAAAAF3d6tlg3qwuAQ=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAF3d6tlg3qxgdM=" + } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAF3d6uZc33JMPE=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAF3d6uZc33KkPc=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAF3d6uZc33LZ8I=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33KkPc=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -288, + "top": -288, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6uZc33MZ6s=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33KkPc=" + }, + "font": "Arial;13;1", + "left": 3061, + "top": 847, + "width": 327, + "height": 13, + "text": "LinkedLIst" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6uZc33Nkog=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33KkPc=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -288, + "top": -288, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAF3d6uZc33OUOc=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33KkPc=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -288, + "top": -288, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 3056, + "top": 840, + "width": 337, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAF3d6uZc33LZ8I=" + }, + "nameLabel": { + "$ref": "AAAAAAF3d6uZc33MZ6s=" + }, + "namespaceLabel": { + "$ref": "AAAAAAF3d6uZc33Nkog=" + }, + "propertyLabel": { + "$ref": "AAAAAAF3d6uZc33OUOc=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAF3d6uZc33PwA0=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "font": "Arial;13;0", + "left": 3056, + "top": 865, + "width": 337, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAF3d6uZc33Qopo=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "font": "Arial;13;0", + "left": 3056, + "top": 875, + "width": 337, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAF3d6uZdH3R6n0=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -144, + "top": -144, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAF3d6uZdH3SAtg=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "model": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -144, + "top": -144, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 3056, + "top": 840, + "width": 337, + "height": 385, + "nameCompartment": { + "$ref": "AAAAAAF3d6uZc33KkPc=" + }, + "attributeCompartment": { + "$ref": "AAAAAAF3d6uZc33PwA0=" + }, + "operationCompartment": { + "$ref": "AAAAAAF3d6uZc33Qopo=" + }, + "receptionCompartment": { + "$ref": "AAAAAAF3d6uZdH3R6n0=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAF3d6uZdH3SAtg=" + } + }, + { + "_type": "UMLGeneralizationView", + "_id": "AAAAAAF3d6vuoIMtUBs=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAF3d6vuoIMrbhU=" + }, + "subViews": [ + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6vuoIMuadI=", + "_parent": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "model": { + "$ref": "AAAAAAF3d6vuoIMrbhU=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 2887, + "top": 753, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6vuoIMv3M8=", + "_parent": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "model": { + "$ref": "AAAAAAF3d6vuoIMrbhU=" + }, + "visible": null, + "font": "Arial;13;0", + "left": 2874, + "top": 746, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6vuoIMwPuY=", + "_parent": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "model": { + "$ref": "AAAAAAF3d6vuoIMrbhU=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 2914, + "top": 766, + "height": 13, + "alpha": -1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAF3d6vuoIMtUBs=" + }, + "edgePosition": 1 + } + ], + "font": "Arial;13;0", + "head": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "tail": { + "$ref": "AAAAAAF3d6tlg3qoe3k=" + }, + "lineStyle": 1, + "points": "2866:839;2937:694", + "showVisibility": true, + "nameLabel": { + "$ref": "AAAAAAF3d6vuoIMuadI=" + }, + "stereotypeLabel": { + "$ref": "AAAAAAF3d6vuoIMv3M8=" + }, + "propertyLabel": { + "$ref": "AAAAAAF3d6vuoIMwPuY=" + } + }, + { + "_type": "UMLGeneralizationView", + "_id": "AAAAAAF3d6wJHoU4PyU=", + "_parent": { + "$ref": "AAAAAAFF+qBtyKM79qY=" + }, + "model": { + "$ref": "AAAAAAF3d6wJHoU26vE=" + }, + "subViews": [ + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6wJH4U5RGQ=", + "_parent": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "model": { + "$ref": "AAAAAAF3d6wJHoU26vE=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 3091, + "top": 766, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6wJH4U6X7E=", + "_parent": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "model": { + "$ref": "AAAAAAF3d6wJHoU26vE=" + }, + "visible": null, + "font": "Arial;13;0", + "left": 3077, + "top": 772, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAF3d6wJH4U7mPU=", + "_parent": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "model": { + "$ref": "AAAAAAF3d6wJHoU26vE=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 3118, + "top": 753, + "height": 13, + "alpha": -1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAF3d6wJHoU4PyU=" + }, + "edgePosition": 1 + } + ], + "font": "Arial;13;0", + "head": { + "$ref": "AAAAAAF3d6sTFnip+KY=" + }, + "tail": { + "$ref": "AAAAAAF3d6uZc33JMPE=" + }, + "lineStyle": 1, + "points": "3138:839;3073:694", + "showVisibility": true, + "nameLabel": { + "$ref": "AAAAAAF3d6wJH4U5RGQ=" + }, + "stereotypeLabel": { + "$ref": "AAAAAAF3d6wJH4U6X7E=" + }, + "propertyLabel": { + "$ref": "AAAAAAF3d6wJH4U7mPU=" + } } ] }, @@ -16854,6 +17863,16 @@ "$ref": "AAAAAAFF+qBWK6M3Z8Y=" }, "name": "Dictionary", + "templateParameters": [ + { + "_type": "UMLTemplateParameter", + "_id": "AAAAAAF3d7JOFtFZ5Jg=", + "_parent": { + "$ref": "AAAAAAFpizuATz4KOaE=" + }, + "name": "T" + } + ], "attributes": [ { "_type": "UMLAttribute", @@ -18956,6 +19975,433 @@ "name": "P7" } ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAF3d6sTFXinXr0=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "List", + "templateParameters": [ + { + "_type": "UMLTemplateParameter", + "_id": "AAAAAAF3d7HcsMOt2TI=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "T" + } + ], + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7ASNq5A40I=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "addFirst", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7M/3+2BTLI=", + "_parent": { + "$ref": "AAAAAAF3d7ASNq5A40I=" + }, + "type": "boolean", + "direction": "return" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7PvYvO1Bzs=", + "_parent": { + "$ref": "AAAAAAF3d7ASNq5A40I=" + }, + "name": "element", + "type": "T" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7RYwgBf/Hg=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "add", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7UArQFj0bc=", + "_parent": { + "$ref": "AAAAAAF3d7RYwgBf/Hg=" + }, + "name": "element", + "type": "T" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7UArgFkM84=", + "_parent": { + "$ref": "AAAAAAF3d7RYwgBf/Hg=" + }, + "type": "boolean", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7/BFxOeEXg=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "remove", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d8BHIRR9JqY=", + "_parent": { + "$ref": "AAAAAAF3d7/BFxOeEXg=" + }, + "name": "index", + "type": "size_t" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d8BHIhR+OvE=", + "_parent": { + "$ref": "AAAAAAF3d7/BFxOeEXg=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7VdmARJmGY=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "removeFirst", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7+pcxIH4kM=", + "_parent": { + "$ref": "AAAAAAF3d7VdmARJmGY=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7+qIRJ1k20=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "removeLast", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7/AZxMwAoE=", + "_parent": { + "$ref": "AAAAAAF3d7+qIRJ1k20=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7fQJAx5YjU=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "get", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7hTuQ00p2E=", + "_parent": { + "$ref": "AAAAAAF3d7fQJAx5YjU=" + }, + "name": "index", + "type": "size_t" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d74GkQ7oXJQ=", + "_parent": { + "$ref": "AAAAAAF3d7fQJAx5YjU=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7UBnQH3D3M=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "getFirst", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7VFDAKyWoM=", + "_parent": { + "$ref": "AAAAAAF3d7UBnQH3D3M=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d7VFtgMgUHw=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "getLast", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d7Vc6wPbCic=", + "_parent": { + "$ref": "AAAAAAF3d7VFtgMgUHw=" + }, + "type": "T", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d8JyByM51WM=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "contains", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d8LxUCSqXuk=", + "_parent": { + "$ref": "AAAAAAF3d8JyByM51WM=" + }, + "name": "element", + "type": "T" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d8LxUSSrI/M=", + "_parent": { + "$ref": "AAAAAAF3d8JyByM51WM=" + }, + "type": "int64_t", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d8E6xyDMqX8=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "count", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d8FdvCJfQxs=", + "_parent": { + "$ref": "AAAAAAF3d8E6xyDMqX8=" + }, + "type": "size_t", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3d695Qp3m/WA=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "clear", + "templateParameters": [ + { + "_type": "UMLTemplateParameter", + "_id": "AAAAAAF3d7HEd8LSJ78=", + "_parent": { + "$ref": "AAAAAAF3d695Qp3m/WA=" + }, + "name": "TemplateParameter1" + } + ], + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3d6/db6l2KEk=", + "_parent": { + "$ref": "AAAAAAF3d695Qp3m/WA=" + }, + "type": "size_t", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3eFnOCilU/6c=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "dispose", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eFn6/CoPuwo=", + "_parent": { + "$ref": "AAAAAAF3eFnOCilU/6c=" + }, + "type": "size_t", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3eJZrjC1ysGg=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "shiftArray", + "visibility": "private", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eJchMS4t2D4=", + "_parent": { + "$ref": "AAAAAAF3eJZrjC1ysGg=" + }, + "name": "place", + "type": "int64_t" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eJchMy4uCw4=", + "_parent": { + "$ref": "AAAAAAF3eJZrjC1ysGg=" + }, + "type": "void", + "direction": "return" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eQ4/vTLoJH4=", + "_parent": { + "$ref": "AAAAAAF3eJZrjC1ysGg=" + }, + "name": "from", + "type": "size_t" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3eJfyYi91fuM=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "allocateMore", + "visibility": "private", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eJhbyjAwqE0=", + "_parent": { + "$ref": "AAAAAAF3eJfyYi91fuM=" + }, + "type": "boolean", + "direction": "return" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAF3eMgi1TEKfx0=", + "_parent": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + }, + "name": "allocateLess", + "visibility": "private", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAF3eMhPPTHFg/s=", + "_parent": { + "$ref": "AAAAAAF3eMgi1TEKfx0=" + }, + "type": "boolean", + "direction": "return" + } + ] + } + ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAF3d6tlg3qmulg=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "ArrayList", + "ownedElements": [ + { + "_type": "UMLGeneralization", + "_id": "AAAAAAF3d6vuoIMrbhU=", + "_parent": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "source": { + "$ref": "AAAAAAF3d6tlg3qmulg=" + }, + "target": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + } + } + ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAF3d6uZc33HbdA=", + "_parent": { + "$ref": "AAAAAAFF+qBWK6M3Z8Y=" + }, + "name": "LinkedLIst", + "ownedElements": [ + { + "_type": "UMLGeneralization", + "_id": "AAAAAAF3d6wJHoU26vE=", + "_parent": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "source": { + "$ref": "AAAAAAF3d6uZc33HbdA=" + }, + "target": { + "$ref": "AAAAAAF3d6sTFXinXr0=" + } + } + ] } ] }