NodeRef

class NodeRef(val docId: DocId, val nodePre: Long) : Comparable<NodeRef> (source)

A node of a stored document (SPEC.md §3.2): its document, docId, and its pre-order number, nodePre, and nothing more. The pair is the whole of a node reference, now and in later versions: it can be stored, compared and rebuilt from its two numbers.

Constructors

Link copied to clipboard
constructor(docId: DocId, nodePre: Long)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: NodeRef): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String