net.peanuuutz.fork.ui.inspection.InspectInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fork-ui Show documentation
Show all versions of fork-ui Show documentation
Comprehensive API designed for Minecraft modders
The newest version!
package net.peanuuutz.fork.ui.inspection
typealias InspectInfoEntry = Map.Entry
class InspectInfo : Iterable {
operator fun set(key: String, value: Any?) {
entries[key] = value
}
// ======== Internal ========
private val entries: MutableMap = mutableMapOf()
override fun iterator(): Iterator {
return entries.entries.iterator()
}
}