Jump to content

File:UML double-ended priortity queue.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 164 × 183 pixels, file size: 4 KB)

Summary

Description
English: It uses generics so T can be any type and is specified when the queue is initialized or declared.
Date
Source Own work
Author Frap

Source code

PlantUML source code.

class DEPQ<T>
{
    +is_empty(): bool
    +get_min(): T
    +get_max(): T
    +size(): int
    +insert(x: T)
    +remove_min()
    +remove_max()
}

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.

Captions

UML class diagram of a double-ended priority queue.

Items portrayed in this file

depicts

15 September 2023

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:10, 15 September 2023Thumbnail for version as of 11:10, 15 September 2023164 × 183 (4 KB)FrapUploaded own work with UploadWizard

The following page uses this file:

Metadata