AbstractInventoryGUISpaceCompound

abstract class AbstractInventoryGUISpaceCompound<T : ForInventory, E>

Functions

addContent
Link copied to clipboard
fun addContent(element: E)
Adds a new element to the compound.
fun addContent(elements: Collection<E>)
Adds new elements to the compound.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
sortContentBy
Link copied to clipboard
fun <R : Comparable<R>> sortContentBy(reverse: Boolean = false, selector: (E) -> R?)
Defines the sort behaviour which gets applied to the content automatically.
toString
Link copied to clipboard
open fun toString(): String

Properties

invType
Link copied to clipboard
val invType: InventoryType<T>

Inheritors

InventoryGUIRectSpaceCompound
Link copied to clipboard
InventoryGUISpaceCompound
Link copied to clipboard