Skip to content
class-spec-2.svg 4.28 KiB
Newer Older
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="163px" preserveAspectRatio="none" style="width:352px;height:163px;" version="1.1" viewBox="0 0 352 163" width="352px" zoomAndPan="magnify"><defs><filter height="300%" id="f1uwdgfzocpil6" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--cluster ohm.softa.a05--><polygon fill="#FFFFFF" filter="url(#f1uwdgfzocpil6)" points="14,16,121,16,128,38.4883,330,38.4883,330,151,14,151,14,16" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="14" x2="128" y1="38.4883" y2="38.4883"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="101" x="18" y="31.5352">ohm.softa.a05</text><!--class PlantBed--><rect fill="#FEFECE" filter="url(#f1uwdgfzocpil6)" height="99.8203" id="PlantBed" style="stroke: #A80036; stroke-width: 1.5;" width="300" x="22" y="43"/><ellipse cx="131.25" cy="59" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M133.7231,65.1431 Q133.1421,65.4419 132.5029,65.5913 Q131.8638,65.7407 131.1582,65.7407 Q128.6514,65.7407 127.3315,64.0889 Q126.0117,62.437 126.0117,59.3159 Q126.0117,56.1865 127.3315,54.5347 Q128.6514,52.8828 131.1582,52.8828 Q131.8638,52.8828 132.5112,53.0322 Q133.1587,53.1816 133.7231,53.4805 L133.7231,56.2031 Q133.0923,55.6221 132.4988,55.3523 Q131.9053,55.0825 131.2744,55.0825 Q129.9297,55.0825 129.2449,56.1492 Q128.5601,57.2158 128.5601,59.3159 Q128.5601,61.4077 129.2449,62.4744 Q129.9297,63.541 131.2744,63.541 Q131.9053,63.541 132.4988,63.2712 Q133.0923,63.0015 133.7231,62.4204 Z "/><ellipse cx="156.75" cy="58.5" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="50" x="162.75" y="63.5352">PlantBed</text><rect fill="#FFFFFF" height="16.1328" style="stroke: #000000; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" width="10" x="315" y="40"/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="8" x="316" y="52.6016">T</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="23" x2="321" y1="75" y2="75"/><rect fill="none" height="6" style="stroke: #C82930; stroke-width: 1.0;" width="6" x="30" y="83.9775"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="118" x="42" y="89.6348">plants: SimpleList&lt;T&gt;</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="23" x2="321" y1="95.9551" y2="95.9551"/><ellipse cx="33" cy="107.9326" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="68" x="42" y="110.5898">add(plant: T)</text><ellipse cx="33" cy="120.8877" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="49" x="42" y="123.5449">size(): int</text><ellipse cx="33" cy="133.8428" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="274" x="42" y="136.5">getPlantsByColor(color: PlantColor): SimpleList&lt;T&gt;</text><!--
@startuml
package ohm.softa.a05 {

    +class PlantBed<T> {
        -plants: SimpleList<T>

        +add(plant: T)
        +size(): int
        +getPlantsByColor(color: PlantColor): SimpleList<T>
    }
}
@enduml
PlantUML version 1.2019.03(Sun Mar 10 12:04:44 CET 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.2+9
Operating System: Mac OS X
OS Version: 10.14.4
Default Encoding: UTF-8
Language: en
Country: GB
--></g></svg>