File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
* ` PersistentList ` extends ` ImmutableList ` and ` PersistentCollection ` , and provides modification operations
15
15
* ` PersistentSet ` extends ` ImmutableSet ` and ` PersistentCollection ` , and provides modification operations
16
16
* ` PersistentMap ` extends ` ImmutableMap ` , and provides modification operations and builder
17
- - ` plus ` , ` minus ` and ` mutate ` extension functions are available only persistent collections
17
+ - ` plus ` , ` minus ` and ` mutate ` extension functions are available only for persistent collections
18
18
- Deprecate ` immutableXOf() ` top-level functions and introduce ` persistentXOf() `
19
19
- ` toImmutableX() ` extension functions return ` ImmutableX `
20
20
- Introduce ` toPersistentX() ` extension functions that return ` PersistentX `
21
+ - Document public API
21
22
22
23
#### Replace PCollection-based prototypes with custom performant implementations
23
24
Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ This library provides interfaces for immutable and persistent collections.
39
39
| ` PersistentMap.Builder ` | ` MutableMap ` |
40
40
41
41
42
- To instantiate an empty persistent collection or a collection with the specified elements the functions
43
- ` persistentListOf ` , ` persistentSetOf ` , and ` persistentMapOf ` can be used .
42
+ To instantiate an empty persistent collection or a collection with the specified elements use the functions
43
+ ` persistentListOf ` , ` persistentSetOf ` , and ` persistentMapOf ` .
44
44
45
45
The default implementations of ` PersistentSet ` and ` PersistentMap ` , which are returned by ` persistentSetOf ` and ` persistentMapOf ` ,
46
46
preserve the element insertion order during iteration. This comes at expense of maintaining more complex data structures.
47
47
If the order of elements doesn't matter, the more efficient implementations returned by the functions
48
- ` persistentHashSetOf ` and ` persistentHashMapOf ` could be used.
48
+ ` persistentHashSetOf ` and ` persistentHashMapOf ` can be used.
49
49
50
50
### Operations
51
51
You can’t perform that action at this time.
0 commit comments