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

Method add

src/main/java/gregapi/code/BiomeNameSet.java:51–57  ·  view source on GitHub ↗
(String aName)

Source from the content-addressed store, hash-verified

49 }
50
51 @Override
52 public boolean add(String aName) {
53 if (aName == null || aName.isEmpty()) return F;
54 aName = aName.toLowerCase();
55 if (!aName.endsWith(" m")) add(aName + " m");
56 return map.put(aName, OBJECT) == null;
57 }
58
59 @Override public Iterator<String> iterator() {return map.keySet().iterator();}
60 @Override public boolean remove(Object aName) {return map.remove(aName)==OBJECT;}

Callers 2

runMethod · 0.95
BiomeNameSetMethod · 0.95

Calls 2

isEmptyMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected