Class ImmutableSortedMap.Builder<K,V>
java.lang.Object
cloud.opencode.base.collections.immutable.ImmutableSortedMap.Builder<K,V>
- Type Parameters:
K- key type | 键类型V- value type | 值类型
- Enclosing class:
ImmutableSortedMap<K,V>
Builder for ImmutableSortedMap.
ImmutableSortedMap 构建器。
- Since:
- JDK 25, opencode-base-collections V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
-
Method Details
-
put
Put entry. 放入条目。- Parameters:
key- the key | 键value- the value | 值- Returns:
- this builder | 此构建器
-
putAll
-
build
Build the immutable sorted map. 构建不可变有序映射。- Returns:
- immutable sorted map | 不可变有序映射
-