MCPcopy Create free account
hub / github.com/MenoData/Time4J / compare

Method compare

base/src/main/java/net/time4j/StdNormalizer.java:90–98  ·  view source on GitHub ↗
(
        TimeSpan.Item<? extends ChronoUnit> o1,
        TimeSpan.Item<? extends ChronoUnit> o2
    )

Source from the content-addressed store, hash-verified

88 }
89
90 @Override
91 public int compare(
92 TimeSpan.Item<? extends ChronoUnit> o1,
93 TimeSpan.Item<? extends ChronoUnit> o2
94 ) {
95
96 return compare(o1.getUnit(), o2.getUnit());
97
98 }
99
100 @SuppressWarnings("unchecked")
101 @Override

Callers 1

getIndexMethod · 0.95

Calls 4

compareMethod · 0.65
getLengthMethod · 0.65
getUnitMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected