MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / contains

Method contains

src/main/java/net/optifine/util/ArrayUtils.java:11–31  ·  view source on GitHub ↗
(Object[] arr, Object val)

Source from the content-addressed store, hash-verified

9public class ArrayUtils
10{
11 public static boolean contains(Object[] arr, Object val)
12 {
13 if (arr == null)
14 {
15 return false;
16 }
17 else
18 {
19 for (int i = 0; i < arr.length; ++i)
20 {
21 Object object = arr[i];
22
23 if (object == val)
24 {
25 return true;
26 }
27 }
28
29 return false;
30 }
31 }
32
33 public static int[] addIntsToArray(int[] intArray, int[] copyFrom)
34 {

Callers 15

matchesMethod · 0.95
RandomEntityRuleMethod · 0.45
initializeMethod · 0.45
CustomSkyLayerMethod · 0.45
parseWeatherListMethod · 0.45
onCrashReportMethod · 0.45
handleMessageMethod · 0.45
getValidPropertyMethod · 0.45
CustomItemPropertiesMethod · 0.45
parseItemsMethod · 0.45
getTextureLocationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected