Amount

core.domain.flow.Amount
See theAmount companion object
case class Amount(name: String, value: Double, unit: String)

Represents an amount with a name, value, and unit.

Value parameters

name

The name of the amount (e.g., species or element).

unit

The unit of the amount.

value

The numerical value of the amount.

Attributes

Companion
object
Source
SystemProps.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product