com.skillw.pouvoir.api.plugin.map.LinkedMap.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Pouvoir Show documentation
Show all versions of Pouvoir Show documentation
Bukkit Script Engine Plugin.
The newest version!
package com.skillw.pouvoir.api.plugin.map
import java.util.concurrent.CopyOnWriteArrayList
/**
* Linked map
*
* @param K
* @param V
* @constructor Create empty Linked map
*/
open class LinkedMap : BaseMap() {
/** List */
protected val list = CopyOnWriteArrayList()
override fun put(key: K, value: V): V? {
list.add(key)
return super.put(key, value)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy