Programmieren_1/img/farm_diagramm.svg

3 lines
14 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="601px" height="421px" viewBox="-0.5 -0.5 601 421" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2020-05-27T11:26:42.846Z&quot; agent=&quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36&quot; etag=&quot;4cO1qaOmfSviO6N4Vicl&quot; version=&quot;12.9.2&quot; type=&quot;google&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7Zxbc+I2FMc/TWa2naHjC9fHALl0N9smS7qbPgpbYBXZYm0RQh762SvJMr5IgCEYGsI+bKJjWbb1/0k6Oj7Ohd3zX25CMPW+EhfiC8twXy7s/oVlmXanzX5wyyK2tBqt2DAOkSsrpYYBeoXSaEjrDLkwylWkhGCKpnmjQ4IAOjRnA2FI5vlqI4LzV52CMVQMAwdg1foDudSLrW2rldpvIRp7yZXNZic+4oOksnySyAMumWdM9tWF3QsJofFv/ksPYt55Sb/8+H3xA99NmjefH6Kf4K/ul8c/vtfixq63OWX5CCEM6M5Nv05G17ff6/88Te+vH+bGzeXwc61mWnHbzwDPZIfJh6WLpAdh4F5yIVhpiIkzubC7zCSVZjKL4jViF7P7vLTsJ1GgIZkse95klpDMAhe68jh0mVryWhAPyfwqNXSFgR14hiFFTFJmKtkVsssiMgsduOb5m5JIEI4hXVNPIsDvNoOV7OgbSHxIwwWrME8RM5v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PWu6q6adHXe0e9NUDaJGGMLpWcGSClrmsb0hNZTqAh8Ib+gT8NmOjmaX0F/OypZVtn5sx0ibQdLEVIY4czI2f85IcqAWibgkF91sTF/Sg+y3sfwpWhkmhgFyPDoE4QQiyvSSh9lND5VTwtTS5Z3MoEIOswGfAxIMo+mK2javzTiADoWuWuFfoZgzEeQWD9bEuegZUM3BzO3G3ZKYN75IyL9tTt7tIIwLprI7+rnHum/AnoJfcR6CqRJTKQXr6mDtyshswuWawKypQddcF5h9G7tq4H4Eue7nSektOqsR+GM7EKa6/ihqvqtsECZPuHhatswKf/MCE14W+y/Zg/1FbmgXkjnKv4XJpovoO7q1loyKskPswsyy9Fi3zQ6pdzY0VF12CGMPLDI15Dhf/cyFW00SrNJhEre46wskrbyWOmEeN/WkdJJCnvE1k0TVqSdtYxMJexNLfd135NyTA6r1fnJP9NqpXvUJ556UTil5OxdV5Z5Ydr7Zg+WeqDHMgaeLjZxTT6pPPTELyaXLJOhNjm9rp9QT097xcsdIPbEVTntMoTOlR0iQ6hyUUrvoCusu1zo4pfrFQ6WUzaZTD4buGdWNqO4/klBvFTY5ukhCQ8POcibejtVG8TOD/0cyn55VNcNAZPOJzNMojlzdoYgmkcckJXV94PHdBrO2SQvbab9h60ldkw+oA7P46cH+QlwlPng68cSwCmRtlJxv9pAZtiaepkSoL7GaW/7eB3B1GmrSTLRDs7Los+b9NQzcRzL4uG+xdxGyrcktqUrItR9DZoS8PbuGx9nFFF1D3dvEjs4zLIZm3rVnqP80QA0eim8DQOQ9xkOe+4bSH4yX1/j/U5uJ9vqpwHLwv+kbER2S1fmEKz74Ee+2/xxdYehD0denmo+8x03BGia28h6rAkA/E6jxjI+2KahgXLc0fohO1qo+F7HUnT9wmRdifILxiM5O8KeatlKBrm2r5HCt7Js+9SuD5K3fpziuk1f2A6QzVyCzaWg2hHvSmRXTPwgW+3Ppn1Wzr/4D&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs><clipPath id="mx-clip-144-31-152-26-0"><rect x="144" y="31" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-57-152-26-0"><rect x="144" y="57" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-91-152-26-0"><rect x="144" y="91" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-117-152-26-0"><rect x="144" y="117" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-143-152-26-0"><rect x="144" y="143" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-169-152-26-0"><rect x="144" y="169" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-195-152-26-0"><rect x="144" y="195" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-221-152-26-0"><rect x="144" y="221" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-247-152-26-0"><rect x="144" y="247" width="152" height="26"/></clipPath><clipPath id="mx-clip-144-275-152-26-0"><rect x="144" y="275" width="152" height="26"/></clipPath><clipPath id="mx-clip-414-201-142-24-0"><rect x="414" y="201" width="142" height="24"/></clipPath><clipPath id="mx-clip-414-233-142-26-0"><rect x="414" y="233" width="142" height="26"/></clipPath><clipPath id="mx-clip-414-259-142-26-0"><rect x="414" y="259" width="142" height="26"/></clipPath><clipPath id="mx-clip-414-31-182-24-0"><rect x="414" y="31" width="182" height="24"/></clipPath><clipPath id="mx-clip-414-55-182-24-0"><rect x="414" y="55" width="182" height="24"/></clipPath><clipPath id="mx-clip-414-87-182-26-0"><rect x="414" y="87" width="182" height="26"/></clipPath><clipPath id="mx-clip-414-113-182-26-0"><rect x="414" y="113" width="182" height="26"/></clipPath></defs><g><path d="M 130 350 L 130 325 L 220 325 L 220 312.12" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 220 301.12 L 225.5 312.12 L 214.5 312.12 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 310 350 L 310 325 L 220 325 L 220 312.12" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 220 301.12 L 225.5 312.12 L 214.5 312.12 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 300 70 L 355 70 L 389.01 70" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 409.01 70 L 399.01 75.88 L 389.01 70 L 399.01 64.12 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><g fill="#000000" font-family="Helvetica" font-size="12px"><text x="301.5" y="69.5">*</text></g><g fill="#000000" font-family="Helvetica" text-anchor="end" font-size="12px"><text x="390.5" y="67.5">1</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 62px; margin-left: 339px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">contains</div></div></div></foreignObject><text x="339" y="65" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">contains</text></switch></g><path d="M 140 26 L 140 0 L 300 0 L 300 26" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 140 26 L 140 300 L 300 300 L 300 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 140 26 L 300 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-anchor="middle" font-size="12px"><text x="219.5" y="17.5">Animal</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-31-152-26-0)" font-size="12px"><text x="145.5" y="43.5">- age: int</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-57-152-26-0)" font-size="12px"><text x="145.5" y="69.5">- health: double</text></g><path d="M 140 82 L 300 82" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-91-152-26-0)" font-size="12px"><text x="145.5" y="103.5">makeNoise : String</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-117-152-26-0)" font-size="12px"><text x="145.5" y="129.5">getAge : int</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-143-152-26-0)" font-size="12px"><text x="145.5" y="155.5">getHealth : double</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-169-152-26-0)" font-size="12px"><text x="145.5" y="181.5">isAlive : boolean</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-195-152-26-0)" font-size="12px"><text x="145.5" y="207.5">isAdult : boolean</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-221-152-26-0)" font-size="12px"><text x="145.5" y="233.5">sleep</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-247-152-26-0)" font-size="12px"><text x="145.5" y="259.5">damage (amount: double)</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 108px; height: 1px; padding-top: 50px; margin-left: 2px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: normal; word-wrap: normal; "><font style="font-size: 15px"><b>Sichtbarkeiten</b><br />+ public <br /># protected<br />~ package<br />- private<br /></font></div></div></div></foreignObject><text x="2" y="54" fill="#000000" font-family="Helvetica" font-size="12px">Sichtbarkeiten...</text></switch></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-144-275-152-26-0)" font-size="12px"><text x="145.5" y="287.5">feed (amount: double)</text></g><path d="M 300 160 L 300 241 L 389.01 241" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 409.01 241 L 399.01 246.88 L 389.01 241 L 399.01 235.12 Z" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" font-size="12px"><text x="301.5" y="235.5">*</text></g><g fill="#000000" font-family="Helvetica" text-anchor="end" font-size="12px"><text x="390.5" y="238.5">1</text></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 233px; margin-left: 340px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: none; white-space: nowrap; ">contains</div></div></div></foreignObject><text x="340" y="236" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">contains</text></switch></g><path d="M 50 376 L 50 350 L 210 350 L 210 376" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 50 376 L 50 420 L 210 420 L 210 376" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 50 376 L 210 376" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-anchor="middle" font-size="12px"><text x="129.5" y="367.5">Sheep</text></g><path d="M 230 376 L 230 350 L 390 350 L 390 376" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 230 376 L 230 420 L 390 420 L 390 376" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 230 376 L 390 376" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-anchor="middle" font-size="12px"><text x="309.5" y="367.5">Cow</text></g><path d="M 410 196 L 410 170 L 560 170 L 560 196" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 410 196 L 410 280 L 560 280 L 560 196" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 410 196 L 560 196" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-anchor="middle" font-size="12px"><text x="484.5" y="187.5">Shepherd</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-201-142-24-0)" font-size="12px"><text x="415.5" y="213.5">- animals: List&lt;Animal&gt;</text></g><path d="M 410 224 L 560 224" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-233-142-26-0)" font-size="12px"><text x="415.5" y="245.5">feedAll</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-259-142-26-0)" font-size="12px"><text x="415.5" y="271.5">sendToSleep</text></g><path d="M 410 26 L 410 0 L 600 0 L 600 26" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 410 26 L 410 140 L 600 140 L 600 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><path d="M 410 26 L 600 26" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" text-anchor="middle" font-size="12px"><text x="504.5" y="17.5">Herd</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-31-182-24-0)" font-size="12px"><text x="415.5" y="43.5">- hashTable: Animal[][]</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-55-182-24-0)" font-size="12px"><text x="415.5" y="67.5">- amountOfElements: int</text></g><path d="M 410 78 L 600 78" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-87-182-26-0)" font-size="12px"><text x="415.5" y="99.5">add (element: Animal)</text></g><g fill="#000000" font-family="Helvetica" clip-path="url(#mx-clip-414-113-182-26-0)" font-size="12px"><text x="415.5" y="125.5">contains(animal: Animal): boolean</text></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://desk.draw.io/support/solutions/articles/16000042487" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>