MCPcopy Index your code
hub / github.com/clojure/clojure / create

Method create

src/jvm/clojure/lang/Range.java:81–85  ·  view source on GitHub ↗
(Object end)

Source from the content-addressed store, hash-verified

79}
80
81public static ISeq create(Object end) {
82 if(Numbers.isPos(end))
83 return new Range(0L, end, 1L, positiveStep(end));
84 return PersistentList.EMPTY;
85}
86
87public static ISeq create(Object start, Object end) {
88 return create(start, end, 1L);

Callers 1

createMethod · 0.95

Calls 8

isPosMethod · 0.95
positiveStepMethod · 0.95
gtMethod · 0.95
isNegMethod · 0.95
equivMethod · 0.95
isZeroMethod · 0.95
createMethod · 0.95
negativeStepMethod · 0.95

Tested by

no test coverage detected