add

fun add(obj: Long)

Adds an obj into this inventory

Parameters

obj

the obj to be added to this inventory

Throws

if the inventory is full