MCPcopy Index your code
hub / github.com/razerdp/BasePopup / indexIn

Method indexIn

app/src/main/java/razerdp/demo/utils/ToolUtil.java:47–50  ·  view source on GitHub ↗
(Collection<?> target, int index)

Source from the content-addressed store, hash-verified

45 }
46
47 public static boolean indexIn(Collection<?> target, int index) {
48 if (target == null || isEmpty(target)) return false;
49 return index >= 0 && index < target.size();
50 }
51
52 /**
53 * 复制到剪切板

Callers 2

setSelectedPositionMethod · 0.95
fromListMethod · 0.95

Calls 2

isEmptyMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected