MCPcopy Index your code
hub / github.com/apache/groovy / ObjectRange

Method ObjectRange

src/main/java/groovy/lang/ObjectRange.java:71–73  ·  view source on GitHub ↗

Creates a new ObjectRange. Creates a reversed range if from < to . @param from the first value in the range. @param to the last value in the range.

(Comparable from, Comparable to)

Source from the content-addressed store, hash-verified

69 * @param to the last value in the range.
70 */
71 public ObjectRange(Comparable from, Comparable to) {
72 this(from, to, null);
73 }
74
75 /**
76 * Creates a new {@link ObjectRange} assumes smaller <= larger, else behavior is undefined.

Callers

nothing calls this directly

Calls 7

areReversedMethod · 0.95
normaliseStringTypeMethod · 0.95
getClassMethod · 0.80
intValueMethod · 0.65
doubleValueMethod · 0.65
longValueMethod · 0.65

Tested by

no test coverage detected