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

Default

no description
Key Default Value Options Description
utils.generic_getInfo
REMOVE DUPLICATES 0
  • 0
  • 1
Don't keep duplicates for the same key.
CONCATENATE STRINGS '' none Specify a separator for concatenating strings.

Example

plist('REMOVE DUPLICATES', [false], 'CONCATENATE STRINGS', '')

back to top 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 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 2
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team