Method plist/merge
MERGE the values for the same key of multiple parameter lists together.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: MERGE the values for the same key of multiple parameter
lists together.
CALL: pl = merge(p1, p2, p3);
pl = merge(p1, [p2 p3], p4)
EXAMPLES: >> pl1 = plist('A', 1);
>> pl2 = plist('A', 3);
>> plo = merge(pl1, pl2)
Then plo will contain a parameter 'A' with value [1 3].
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
plist |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
REMOVE DUPLICATES |
0 |
|
Don't keep duplicates for the same key. |
CONCATENATE STRINGS |
'' |
none |
Specify a separator for concatenating strings. |
back to top
Some information of the method plist/merge are listed below: |
Class name |
plist |
Method name |
merge |
Category |
Helper |
Package name |
ltpda |
VCS Version |
3542afe99dea25c636b7ac3b82a9f6f8be9d447d |
Min input args |
2 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: plist/isparam |
|
Method: plist/mfind |
 |
©LTP Team