当前位置: 代码迷 >> Java相关 >> java 兑现数组分段匹配
  详细解决方案

java 兑现数组分段匹配

热度:1123   发布时间:2013-02-25 21:43:29.0
java 实现数组分段匹配
加入 有一个数组arr1={"A","abc","B","jkkk","C","asdsad","D","asdasda","E","asdasd"};
另一个数组 arr2={"C","asdasd","D"};
数组 arr3={"A","B","C","D","E"};
其中 C中的元素作为标识,也就是分段的标志,如果"A","B"在数组arr2中出现,则比较数组 arr1A与B之间的部分和数组arr2A与B之间的内容不大明白看不懂哦。
  相关解决方案