注释 A 具有 3 个特征,即名称、日期和索引。注释 B 具有 3 个特征,即名称、日期和索引。值被分配给除 B.index 之外的所有特征。匹配 A 和 B 的名称和日期,我想将 A.index 分配给 B.index
样本输出:
A annotaion:
Wardlaw
name:Wardlaw
date:2003
index:3
Rahul
name:Rahul
date:1993
index:4
B annotaion:
Rahul
name:Rahul
date:1993
index:0
Wardlaw
name:Wardlaw
date:2003
index:0
预期输出:
B 注释:
Rahul
name:Rahul
date:1993
index:4
Wardlaw
name:Wardlaw
date:2003
index:3