高手请进,请教关于如何判断定长数组中的值问题。
比如说我有一个数组
String[] attrNames = { "Ind_Caller_Number_1","Ind_RBT_1","Ind_Group_ID_1",
"Ind_Caller_Number_2","Ind_RBT_2","Ind_Group_ID_2",
"Ind_Caller_Number_3","Ind_RBT_3","Ind_Group_ID_3",
"Ind_Caller_Number_4","Ind_RBT_4","Ind_Group_ID_4",
"Ind_Caller_Number_5","Ind_RBT_5","Ind_Group_ID_5",
"Ind_Caller_Number_6","Ind_RBT_6","Ind_Group_ID_6",
"Ind_Caller_Number_7","Ind_RBT_7","Ind_Group_ID_7",
"Ind_Caller_Number_8","Ind_RBT_8","Ind_Group_ID_8",
"Ind_Caller_Number_9","Ind_RBT_9","Ind_Group_ID_9",
"Ind_Caller_Number_10","Ind_RBT_10","Ind_Group_ID_10",
"Ind_Caller_Number_11","Ind_RBT_11","Ind_Group_ID_11",
"Ind_Caller_Number_12","Ind_RBT_12","Ind_Group_ID_12",
"Ind_Caller_Number_13","Ind_RBT_13","Ind_Group_ID_13",
"Ind_Caller_Number_14","Ind_RBT_14","Ind_Group_ID_14",
"Ind_Caller_Number_15","Ind_RBT_15","Ind_Group_ID_15",
"Ind_Caller_Number_16","Ind_RBT_16","Ind_Group_ID_16",
"Ind_Caller_Number_17","Ind_RBT_17","Ind_Group_ID_17",
"Ind_Caller_Number_18","Ind_RBT_18","Ind_Group_ID_18",
"Ind_Caller_Number_19","Ind_RBT_19","Ind_Group_ID_19",
"Ind_Caller_Number_20","Ind_RBT_20","Ind_Group_ID_20",
"Ind_Caller_Number_21","Ind_RBT_21","Ind_Group_ID_21",
"Ind_Caller_Number_22","Ind_RBT_22","Ind_Group_ID_22",
"Ind_Caller_Number_23","Ind_RBT_23","Ind_Group_ID_23",
"Ind_Caller_Number_24","Ind_RBT_24","Ind_Group_ID_24",
"Ind_Caller_Number_25","Ind_RBT_25","Ind_Group_ID_25" };
数组中有这么多的字段。我想知道怎么做能让我第一次或许更新前10个,第二次更新后10个,以及如何判断更新到那个子段了,并且知道更新了多少个字段。必须是这个数组。因为这是一个接口,我什么都改不了的。大家帮帮我啊。50分给解决问题的人