SimpleMolecule

Simple implementation of Molecule.

Inheritors

Constructors

Link copied to clipboard
constructor(@Nonnull name: CharSequence)
Builds a new molecule with the given name.
constructor(@Nonnull name: String)
Builds a new molecule with the given name.

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
The name of this Molecule.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
context(incarnation: Incarnation<T, *>, node: Node<T>)
operator fun <T> Molecule.invoke(concentration: T = incarnation.createConcentration())

Assigns the given concentration to this Molecule on the current Node.

Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
context(incarnation: Incarnation<T, *>, _: Node<T>)
operator fun <T> Molecule.unaryMinus()

Assigns a default concentration for this Molecule to the current Node.