MCPcopy Index your code
hub / github.com/apache/tomcat / compareTo

Method compareTo

java/org/apache/tomcat/util/http/parser/Ranges.java:113–120  ·  view source on GitHub ↗
(Entry o)

Source from the content-addressed store, hash-verified

111
112
113 @Override
114 public int compareTo(Entry o) {
115 if (start == o.start) {
116 return Long.compare(end, o.end);
117 } else {
118 return Long.compare(start, o.start);
119 }
120 }
121
122
123 @Override

Callers

nothing calls this directly

Calls 1

compareMethod · 0.45

Tested by

no test coverage detected