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

Method isShorterThan

base/src/main/java/net/time4j/MachineTime.java:1014–1018  ·  view source on GitHub ↗
(MachineTime<U> other)

Source from the content-addressed store, hash-verified

1012 * @since 3.20/4.16
1013 */
1014 public boolean isShorterThan(MachineTime<U> other) {
1015
1016 return (this.abs().compareTo(other.abs()) < 0);
1017
1018 }
1019
1020 /**
1021 * <p>Compares the absolute lengths and is equivalent to {@code abs().compareTo(other.abs()) > 0}. </p>

Callers

nothing calls this directly

Calls 2

absMethod · 0.95
compareToMethod · 0.45

Tested by

no test coverage detected