MCPcopy Create free account
hub / github.com/gomatcha/matcha / foreignToInt64

Method foreignToInt64

cmd/Tracker.java:93–99  ·  view source on GitHub ↗
(long v)

Source from the content-addressed store, hash-verified

91 return track(v);
92 }
93 public synchronized long foreignToInt64(long v) {
94 Object a = this.get(v);
95 if (a instanceof Integer) {
96 return ((Integer)a).longValue();
97 }
98 return (Long)a;
99 }
100 public synchronized long foreignFloat64(double v) {
101 return track(v);
102 }

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected