这里是两个xml,我试图比较并将各自的数据放入excel表中。
我有一个多维数组叫做provisions。
Calendar Year
5,000
10,000
15,000
5,000
10,000
Unlimited
false
false
Immediate
Not Applicable
Calendar Year
3,000
6,000
5,000
10,000
Unlimited
false
false
Immediate
Not Applicable
现在,这个XML数据用于2个计划,我的provisions数组包含
规定==[[计划特征,,][免赔额,,][个人,,]…]
for(int j = 0; j < plans.length; j++){
Vector vr = (Vector) tagidPlan.get(plans[j].getId());
for(int i = 0; i < vr.size(); i++){
provisions[i][j+1] = getValues(plans[j],vr.get(i));
}
}
这个问题发生在网络之外的家庭的额外节点出现时。这是我最后的阵型
[[Plan Features:, Medical HMO, Medical PPO], [Deductible Year:, Calendar Year, Calendar Year], [Individual:, 5,000, 3,000], [Family:, 10,000, 6,000], [Family Out-of-Network:, 15,000, null], [Out-of-Pocket Annual Maximum:, null, 5,000], [Individual:, 5,000, 10,000], [Family:, 10,000, Unlimited], [Life Time Maximum:, Unlimited, ], [Coinsurance:, , ], [Office Visits:, , ], [Routine Physicals:, , ], [Preventive Care:, , ], [Physician Services:, , ], [Emergency Room Services / Urgent Care:, , ], [Hospital Admission Services:, , ], [Chiropractic:, , ], [Prescription Drugs:, , ], [Specialty Drugs:, , false], [Pre Tax Reduction Available:, false, false], [Conversion Privilege:, false, ], [Plan Setup:, , Immediate], [Benefit Termination Date:, Immediate, Not Applicable], [Premium Redetermination Date:, Not Applicable, ], [Participation Requirement:, , null]]
我想在相应的数组元素中得到正确的值。