MCPcopy Create free account
hub / github.com/apache/sirona / Unit

Method Unit

api/src/main/java/org/apache/sirona/counters/Unit.java:117–122  ·  view source on GitHub ↗

Constructor for a primary unit @param name

(String name)

Source from the content-addressed store, hash-verified

115 * @param name
116 */
117 public Unit(String name) {
118 this.name = name;
119 this.primary = this;
120 this.scale = 1;
121 UNITS.put(name, this);
122 }
123
124 /**
125 * Constructor for a derived unit

Callers

nothing calls this directly

Calls 4

isPrimaryMethod · 0.80
getPrimaryMethod · 0.80
getScaleMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected