MoleculeToConcentrationMap

data class MoleculeToConcentrationMap(val originMap: Map<MoleculeSurrogate, String>, val size: Int = originMap.size) : GraphQLMap<MoleculeSurrogate, String>

A GraphQL compliant representation of a Map storing Molecules and their concentrations.

Constructors

Link copied to clipboard
constructor(originMap: Map<MoleculeSurrogate, String>, size: Int = originMap.size)

Properties

Link copied to clipboard
open override val originMap: Map<MoleculeSurrogate, String>
Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
Link copied to clipboard
operator fun get(key: MoleculeSurrogate): String?

Custom indexing with the key of the wrapped Map.

operator fun get(input: MoleculeInput): String?

Custom indexing with a MoleculeInput object. NB: key resolution is done by the wrapped Molecule name.