Gets the number of indexes on the left
Gets the number of indexes on the right
Clears the index
Validates and removes a record given both left and right indexes
The left index of the record to remove
The right index of the record to remove
Removes all records based on the left and right indexes given
The right index of the record may have changed, update it
The left index of the record to update
The new right index to apply
The old right index of the record
The left index of the record may have changed, update it
The new left index to apply
The right index of the record to update
The old left index of the record
Static
applyStatic
insertAttempts to insert a reference at a specific index in an array
The array to insert into
The index to insert at
The new reference number, or -1 if there was no space
Static
redistributeRedistributes reference numbers to make space at a specific index
The array to redistribute
The index we need to make space at
A map of old to new reference numbers
Static
search
Provides fast mappings between array locations, including imbalanced mappings where records are absent from one side