File:UML sum computer.svg

Original file(SVG file, nominally 407 × 284 pixels, file size: 9 KB)

Commons-logo.svg This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

Summary

Description
English: A UML class diagram representing the two classes SquareSumComputer and CubeSumComputer which inherits from SumComputer abstract base class.
Date
Source Own work
Author Frap

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Source code

PlantUML source code.

@startuml
abstract class SumComputer
{
    - a: int
    - b: int
    + «Create» SumComputer(a: int, b: int)
    + {abstract} transform(x) : int
    + inputs() : int[]
    + compute() : int
}

class SquareSumComputer extends SumComputer
{
    + transform(x) : int
}

class CubeSumComputer extends SumComputer
{
    + transform(x) : int
}
@enduml

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

7 June 2023

8,872 byte

284 pixel

407 pixel

image/svg+xml

f2663beffdc09c9d9e7e092cd06a7d77f2319c33

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current02:06, 7 June 2023407 × 284 (9 KB)FrapUploaded own work with UploadWizard

The following page uses this file:

Metadata