MCPcopy Create free account
hub / github.com/OpenDRG/DRG_Java / contains

Method contains

drg_group/changchun_2022/Base.java:51–60  ·  view source on GitHub ↗
(String[] arr, String targetValue)

Source from the content-addressed store, hash-verified

49 return s;
50 }
51 public static boolean contains(String[] arr, String targetValue){
52 if (arr!=null && arr.length>0){
53 for(String s: arr){
54 if(s.equals(targetValue)){
55 return true;
56 }
57 }
58 }
59 return false;
60 }
61}

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