Dotty Documentation

0.9.0-bin-SNAPSHOT

object Attachment
extends Object

A class inheriting from Attachment.Container supports adding, removing and lookup of attachments. Attachments are typed key/value pairs.

Attachments whose key is an instance of StickyKey will be kept when the attachments are copied using withAttachmentsFrom.

[-] Constructors

[-] Members

[+] trait Container

A trait for objects that can contain attachments

[+] trait LinkSource

An implementation trait for attachments. Clients should inherit from Container instead.