StringAnyHashMap

class StringAnyHashMap : HashMap<String, Any?>

HashMap 限定key为String类型,value 为Any?

Constructors

StringAnyHashMap
Link copied to clipboard
fun StringAnyHashMap()

Functions

afterNodeAccess
Link copied to clipboard
open fun afterNodeAccess(p0: HashMap.Node<String, Any?>)
afterNodeInsertion
Link copied to clipboard
open fun afterNodeInsertion(p0: Boolean)
afterNodeRemoval
Link copied to clipboard
open fun afterNodeRemoval(p0: HashMap.Node<String, Any?>)
capacity
Link copied to clipboard
fun capacity(): Int
clear
Link copied to clipboard
open override fun clear()
clone
Link copied to clipboard
open override fun clone(): Any
compute
Link copied to clipboard
open override fun compute(p0: String, p1: BiFunction<in String, in Any?, out Any?>): Any?
computeIfAbsent
Link copied to clipboard
open override fun computeIfAbsent(p0: String, p1: Function<in String, out Any?>): Any?
computeIfPresent
Link copied to clipboard
open override fun computeIfPresent(p0: String, p1: BiFunction<in String, in Any, out Any?>): Any?
containsKey
Link copied to clipboard
open override fun containsKey(key: String): Boolean
containsValue
Link copied to clipboard
open override fun containsValue(value: Any?): Boolean
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
forEach
Link copied to clipboard
open override fun forEach(p0: BiConsumer<in String, in Any?>)
get
Link copied to clipboard
open operator override fun get(key: String): Any?
getNode
Link copied to clipboard
fun getNode(p0: Int, p1: Any): HashMap.Node<String, Any?>
getOrDefault
Link copied to clipboard
open override fun getOrDefault(key: String, defaultValue: Any?): Any?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
internalWriteEntries
Link copied to clipboard
open fun internalWriteEntries(p0: ObjectOutputStream)
isEmpty
Link copied to clipboard
open override fun isEmpty(): Boolean
loadFactor
Link copied to clipboard
fun loadFactor(): Float
merge
Link copied to clipboard
open override fun merge(p0: String, p1: Any, p2: BiFunction<in Any, in Any, out Any?>): Any?
newNode
Link copied to clipboard
open fun newNode(p0: Int, p1: String, p2: Any?, p3: HashMap.Node<String, Any?>): HashMap.Node<String, Any?>
newTreeNode
Link copied to clipboard
open fun newTreeNode(p0: Int, p1: String, p2: Any?, p3: HashMap.Node<String, Any?>): HashMap.TreeNode<String, Any?>
put
Link copied to clipboard
open override fun put(key: String, value: Any?): Any?
putAll
Link copied to clipboard
open override fun putAll(from: Map<out String, Any?>)
putIfAbsent
Link copied to clipboard
open override fun putIfAbsent(p0: String, p1: Any?): Any?
putMapEntries
Link copied to clipboard
fun putMapEntries(p0: MutableMap<out String, out Any?>, p1: Boolean)
putVal
Link copied to clipboard
fun putVal(p0: Int, p1: String, p2: Any?, p3: Boolean, p4: Boolean): Any?
readObject
Link copied to clipboard
private open fun readObject(p0: ObjectInputStream)
reinitialize
Link copied to clipboard
open fun reinitialize()
remove
Link copied to clipboard
open override fun remove(key: String): Any?
open override fun remove(key: String, value: Any?): Boolean
removeNode
Link copied to clipboard
fun removeNode(p0: Int, p1: Any, p2: Any, p3: Boolean, p4: Boolean): HashMap.Node<String, Any?>
replace
Link copied to clipboard
open override fun replace(p0: String, p1: Any?): Any?
open override fun replace(p0: String, p1: Any?, p2: Any?): Boolean
replaceAll
Link copied to clipboard
open override fun replaceAll(p0: BiFunction<in String, in Any?, out Any?>)
replacementNode
Link copied to clipboard
open fun replacementNode(p0: HashMap.Node<String, Any?>, p1: HashMap.Node<String, Any?>): HashMap.Node<String, Any?>
replacementTreeNode
Link copied to clipboard
open fun replacementTreeNode(p0: HashMap.Node<String, Any?>, p1: HashMap.Node<String, Any?>): HashMap.TreeNode<String, Any?>
resize
Link copied to clipboard
fun resize(): Array<HashMap.Node<String, Any?>>
toString
Link copied to clipboard
open override fun toString(): String
treeifyBin
Link copied to clipboard
fun treeifyBin(p0: Array<HashMap.Node<String, Any?>>, p1: Int)
writeObject
Link copied to clipboard
private open fun writeObject(p0: ObjectOutputStream)

Properties

entries
Link copied to clipboard
open override val entries: MutableSet<MutableMap.MutableEntry<String, Any?>>
entrySet
Link copied to clipboard
val entrySet: MutableSet<MutableMap.MutableEntry<String, Any?>>
keys
Link copied to clipboard
open override val keys: MutableSet<String>
keySet
Link copied to clipboard
val keySet: MutableSet<String>
loadFactor
Link copied to clipboard
val loadFactor: Float
modCount
Link copied to clipboard
val modCount: Int
size
Link copied to clipboard
val size: Int
size
Link copied to clipboard
open override val size: Int
table
Link copied to clipboard
val table: Array<HashMap.Node<String, Any?>>
threshold
Link copied to clipboard
val threshold: Int
values
Link copied to clipboard
open override val values: MutableCollection<Any?>
values
Link copied to clipboard
val values: MutableCollection<Any?>