MCPcopy Create free account
hub / github.com/BaseXdb/basex / unpackLong

Method unpackLong

basex-core/src/main/java/org/basex/util/Inline.java:109–111  ·  view source on GitHub ↗

Converts an inlined value to a long value. @param value inlined value @return unpacked integer

(final long value)

Source from the content-addressed store, hash-verified

107 * @return unpacked integer
108 */
109 public static long unpackLong(final long value) {
110 return (value & STRING) == 0 ? value & INLINE - 1 : toLong(unpackString(value));
111 }
112
113 /**
114 * Converts an inlined value to a double value.

Callers 1

textItrMethod · 0.95

Calls 2

unpackStringMethod · 0.95
toLongMethod · 0.45

Tested by

no test coverage detected