MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / BiomeNameSet

Method BiomeNameSet

src/main/java/gregapi/code/BiomeNameSet.java:37–41  ·  view source on GitHub ↗
(Object... aArray)

Source from the content-addressed store, hash-verified

35 private static final Object OBJECT = new Object();
36
37 @SafeVarargs
38 public BiomeNameSet(Object... aArray) {
39 map = new HashMap<>(Math.max((int)(aArray.length/.75F) + 1, 16));
40 for (Object aName : aArray) add(aName instanceof BiomeGenBase ? ((BiomeGenBase)aName).biomeName : aName.toString());
41 }
42
43 @Override
44 public boolean contains(Object aName) {

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected