Class ImmutableMap.Builder<K,V>
java.lang.Object
cloud.opencode.base.collections.ImmutableMap.Builder<K,V>
- Type Parameters:
K- key type | 键类型V- value type | 值类型
- Enclosing class:
ImmutableMap<K,V>
Builder for ImmutableMap
ImmutableMap 构建器
- Since:
- JDK 25, opencode-base-collections V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the immutable map.Put an entry.Put an entry.Put all entries from a map.
-
Method Details
-
put
Put an entry. 放入条目。- Parameters:
key- the key | 键value- the value | 值- Returns:
- this builder | 此构建器
-
put
-
putAll
-
build
-