1 line
22 KiB
XML
1 line
22 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="951px" viewBox="-0.5 -0.5 951 592" content="<mxfile host="drawio-plugin" modified="2021-11-12T17:08:10.583Z" agent="5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36" etag="zrlBbK7wEkO6yIvBL-dY" version="14.7.4" type="embed"><diagram id="eWy9IwHxbh3JgAdMnOEg" name="Seite-1"><mxGraphModel dx="2606" dy="574" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="9L6EbMpzsWciNYXeLQUw-5" value="TextEditor" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="50" y="341" width="220" height="60" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-5" vertex="1"><mxGeometry y="26" width="220" height="8" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-8" value="private static void Main(String[] args)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-5" vertex="1"><mxGeometry y="34" width="220" height="26" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-12" value="Text" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="690" y="210" width="310" height="198" as="geometry"/></mxCell><mxCell id="3" value="- text:ArrayList&lt;String&gt;{final}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=0" parent="9L6EbMpzsWciNYXeLQUw-12" vertex="1"><mxGeometry y="26" width="310" height="20" as="geometry"/></mxCell><mxCell id="2" value="- dummyText{final}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=4" parent="9L6EbMpzsWciNYXeLQUw-12" vertex="1"><mxGeometry y="46" width="310" height="20" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-14" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-12" vertex="1"><mxGeometry y="66" width="310" height="8" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-15" value="+ add(int:n, String):boolean&#10;+ dummy(int:n):boolean&#10;+ replace(int:n, String, String):boolean&#10;+ index():ArrayList&lt;String&gt;&#10;+ getText():ArrayList&lt;String&gt;&#10;+ del(int:n):boolean&#10;- createWordlist(HashMap&lt;String, ArrayList&lt;Integer&gt;&gt;)&#10;- paragraphExists(int):boolean" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;shadow=0;" parent="9L6EbMpzsWciNYXeLQUw-12" vertex="1"><mxGeometry y="74" width="310" height="124" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-16" value="TextLogic" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="380" y="347" width="170" height="114" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-17" value="- text Text{final}&#10;- textOutput Textoutput{final}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-16" vertex="1"><mxGeometry y="26" width="170" height="30" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-18" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-16" vertex="1"><mxGeometry y="56" width="170" height="8" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-19" value="+ TextLogik&#10;- isNumeric(String):boolean&#10;- checkIfSuccess(boolean)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-16" vertex="1"><mxGeometry y="64" width="170" height="50" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-20" value="TextOutput" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="690" y="433" width="210" height="217" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-21" value="- formatRaw: boolean&#10;- columnWidth: int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-20" vertex="1"><mxGeometry y="26" width="210" height="30" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-22" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-20" vertex="1"><mxGeometry y="56" width="210" height="8" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-23" value="+ print(ArrayList&lt;String&gt;)&#10;+ formatRaw():boolean&#10;+ formatFix(int)&#10;+ userInfoOutput(String)&#10;+ indexOutput(ArrayList&lt;String&gt;)&#10;+ errorInvalidParagraph()&#10;+ errorInvalidCommand()&#10;+ errorMissingText&#10;- printFormated(ArrayList&lt;String&gt;)&#10;- toFormat(ArrayList&lt;String&gt;)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-20" vertex="1"><mxGeometry y="64" width="210" height="153" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-24" value="TextInput" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="690" y="670" width="160" height="128" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-25" value="- sc Scanner{final}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=4" parent="9L6EbMpzsWciNYXeLQUw-24" vertex="1"><mxGeometry y="26" width="160" height="44" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-26" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="9L6EbMpzsWciNYXeLQUw-24" vertex="1"><mxGeometry y="70" width="160" height="8" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-27" value="+ checkForInput: String[]&#10;+ getTextInput: String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontStyle=4" parent="9L6EbMpzsWciNYXeLQUw-24" vertex="1"><mxGeometry y="78" width="160" height="50" as="geometry"/></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-36" value="" style="endArrow=classic;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="9L6EbMpzsWciNYXeLQUw-21" target="9L6EbMpzsWciNYXeLQUw-17" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="760" y="480" as="sourcePoint"/><mxPoint x="810" y="430" as="targetPoint"/></mxGeometry></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-37" value="" style="endArrow=classic;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="9L6EbMpzsWciNYXeLQUw-15" target="9L6EbMpzsWciNYXeLQUw-17" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="700" y="482" as="sourcePoint"/><mxPoint x="550" y="410" as="targetPoint"/></mxGeometry></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-38" value="" style="endArrow=classic;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="9L6EbMpzsWciNYXeLQUw-27" target="9L6EbMpzsWciNYXeLQUw-17" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="700" y="370" as="sourcePoint"/><mxPoint x="550" y="410" as="targetPoint"/></mxGeometry></mxCell><mxCell id="9L6EbMpzsWciNYXeLQUw-40" value="" style="endArrow=classic;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="9L6EbMpzsWciNYXeLQUw-17" target="9L6EbMpzsWciNYXeLQUw-8" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="700" y="480" as="sourcePoint"/><mxPoint x="750" y="430" as="targetPoint"/></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>" onclick="(function(svg){var src=window.event.target||window.event.srcElement;while (src!=null&&src.nodeName.toLowerCase()!='a'){src=src.parentNode;}if(src==null){if(svg.wnd!=null&&!svg.wnd.closed){svg.wnd.focus();}else{var r=function(evt){if(evt.data=='ready'&&evt.source==svg.wnd){svg.wnd.postMessage(decodeURIComponent(svg.getAttribute('content')),'*');window.removeEventListener('message',r);}};window.addEventListener('message',r);svg.wnd=window.open('https://viewer.diagrams.net/?client=1&page=0&edit=_blank');}}})(this);" style="cursor:pointer;max-width:100%;max-height:592px;"><defs><clipPath id="mx-clip-4-170-212-26-0"><rect x="4" y="170" width="212" height="26"/></clipPath><clipPath id="mx-clip-644-31-302-20-0"><rect x="644" y="31" width="302" height="20"/></clipPath><clipPath id="mx-clip-644-51-302-20-0"><rect x="644" y="51" width="302" height="20"/></clipPath><clipPath id="mx-clip-644-79-302-124-0"><rect x="644" y="79" width="302" height="124"/></clipPath><clipPath id="mx-clip-334-168-162-30-0"><rect x="334" y="168" width="162" height="30"/></clipPath><clipPath id="mx-clip-334-206-162-50-0"><rect x="334" y="206" width="162" height="50"/></clipPath><clipPath id="mx-clip-644-254-202-30-0"><rect x="644" y="254" width="202" height="30"/></clipPath><clipPath id="mx-clip-644-292-202-153-0"><rect x="644" y="292" width="202" height="153"/></clipPath><clipPath id="mx-clip-644-491-152-44-0"><rect x="644" y="491" width="152" height="44"/></clipPath><clipPath id="mx-clip-644-543-152-50-0"><rect x="644" y="543" width="152" height="50"/></clipPath></defs><g><path d="M 0 157 L 0 131 L 220 131 L 220 157" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 0 157 L 0 191 L 220 191 L 220 157" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 0 157 L 220 157" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" pointer-events="none" text-anchor="middle" font-size="12px"><text x="109.5" y="148.5">TextEditor</text></g><path d="M 0 161 L 220 161" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-4-170-212-26-0)" font-size="12px"><text x="5.5" y="182.5">private static void Main(String[] args)</text></g><path d="M 640 26 L 640 0 L 950 0 L 950 26" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 26 L 640 198 L 950 198 L 950 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 26 L 950 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" pointer-events="none" text-anchor="middle" font-size="12px"><text x="794.5" y="17.5">Text</text></g><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-644-31-302-20-0)" font-size="12px"><text x="645.5" y="43.5">- text:ArrayList<String>{final}</text></g><g fill="#000000" font-family="Helvetica" text-decoration="underline" pointer-events="none" clip-path="url(#mx-clip-644-51-302-20-0)" font-size="12px"><text x="645.5" y="63.5">- dummyText{final}</text></g><path d="M 640 70 L 950 70" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-644-79-302-124-0)" font-size="12px"><text x="645.5" y="91.5">+ add(int:n, String):boolean</text><text x="645.5" y="105.5">+ dummy(int:n):boolean</text><text x="645.5" y="119.5">+ replace(int:n, String, String):boolean</text><text x="645.5" y="133.5">+ index():ArrayList<String></text><text x="645.5" y="147.5">+ getText():ArrayList<String></text><text x="645.5" y="161.5">+ del(int:n):boolean</text><text x="645.5" y="175.5">- createWordlist(HashMap<String, ArrayList<Integer>>)</text><text x="645.5" y="189.5">- paragraphExists(int):boolean</text></g><path d="M 330 163 L 330 137 L 500 137 L 500 163" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 330 163 L 330 251 L 500 251 L 500 163" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 330 163 L 500 163" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" pointer-events="none" text-anchor="middle" font-size="12px"><text x="414.5" y="154.5">TextLogic</text></g><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-334-168-162-30-0)" font-size="12px"><text x="335.5" y="180.5">- text Text{final}</text><text x="335.5" y="194.5">- textOutput Textoutput{final}</text></g><path d="M 330 197 L 500 197" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-334-206-162-50-0)" font-size="12px"><text x="335.5" y="218.5">+ TextLogik</text><text x="335.5" y="232.5">- isNumeric(String):boolean</text><text x="335.5" y="246.5">- checkIfSuccess(boolean)</text></g><path d="M 640 249 L 640 223 L 850 223 L 850 249" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 249 L 640 440 L 850 440 L 850 249" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 249 L 850 249" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" pointer-events="none" text-anchor="middle" font-size="12px"><text x="744.5" y="240.5">TextOutput</text></g><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-644-254-202-30-0)" font-size="12px"><text x="645.5" y="266.5">- formatRaw: boolean</text><text x="645.5" y="280.5">- columnWidth: int</text></g><path d="M 640 283 L 850 283" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" pointer-events="none" clip-path="url(#mx-clip-644-292-202-153-0)" font-size="12px"><text x="645.5" y="304.5">+ print(ArrayList<String>)</text><text x="645.5" y="318.5">+ formatRaw():boolean</text><text x="645.5" y="332.5">+ formatFix(int)</text><text x="645.5" y="346.5">+ userInfoOutput(String)</text><text x="645.5" y="360.5">+ indexOutput(ArrayList<String>)</text><text x="645.5" y="374.5">+ errorInvalidParagraph()</text><text x="645.5" y="388.5">+ errorInvalidCommand()</text><text x="645.5" y="402.5">+ errorMissingText</text><text x="645.5" y="416.5">- printFormated(ArrayList<String>)</text><text x="645.5" y="430.5">- toFormat(ArrayList<String>)</text></g><path d="M 640 486 L 640 460 L 800 460 L 800 486" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 486 L 640 588 L 800 588 L 800 486" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 486 L 800 486" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-weight="bold" pointer-events="none" text-anchor="middle" font-size="12px"><text x="719.5" y="477.5">TextInput</text></g><g fill="#000000" font-family="Helvetica" text-decoration="underline" pointer-events="none" clip-path="url(#mx-clip-644-491-152-44-0)" font-size="12px"><text x="645.5" y="503.5">- sc Scanner{final}</text></g><path d="M 640 534 L 800 534" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-decoration="underline" pointer-events="none" clip-path="url(#mx-clip-644-543-152-50-0)" font-size="12px"><text x="645.5" y="555.5">+ checkForInput: String[]</text><text x="645.5" y="569.5">+ getTextInput: String</text></g><path d="M 640 264 L 580 264 Q 570 264 570 254 L 570 188 Q 570 178 560 178 L 506.37 178" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 501.12 178 L 508.12 174.5 L 506.37 178 L 508.12 181.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 136 L 580 136 Q 570 136 570 146 L 570 168 Q 570 178 560 178 L 506.37 178" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 501.12 178 L 508.12 174.5 L 506.37 178 L 508.12 181.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 640 563 L 580 563 Q 570 563 570 553 L 570 188 Q 570 178 560 178 L 506.37 178" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 501.12 178 L 508.12 174.5 L 506.37 178 L 508.12 181.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 330 178 L 226.37 178" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 221.12 178 L 228.12 174.5 L 226.37 178 L 228.12 181.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/></g></svg> |