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

Method isCompatible

api/src/main/java/org/apache/sirona/counters/Unit.java:167–169  ·  view source on GitHub ↗
(Unit unit)

Source from the content-addressed store, hash-verified

165 }
166
167 public boolean isCompatible(Unit unit) {
168 return primary == unit.getPrimary();
169 }
170
171 public Unit getPrimary() {
172 return this.primary;

Callers 2

convertMethod · 0.95
generateLineMethod · 0.80

Calls 1

getPrimaryMethod · 0.80

Tested by

no test coverage detected