MCPcopy Index your code
hub / github.com/OpenDRG/DRG_Java / intersect

Method intersect

drg_group/qingdao_2023/Base.java:69–80  ·  view source on GitHub ↗
(String[] a,String[] b)

Source from the content-addressed store, hash-verified

67 return false;
68 }
69 public static boolean intersect(String[] a,String[] b){
70 if (a!=null && a.length>0 && b!=null && b.length>0){
71 for (String x : a){
72 for(String y : b){
73 if (x.equals(y)){
74 return true;
75 }
76 }
77 }
78 }
79 return false;
80 }
81 public static Set<String> Intersect(String[] a,String[] b){
82 Set<String> s=new HashSet<String>();
83 if (a!=null && a.length>0 && b!=null && b.length>0){

Callers 15

groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95
groupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected