Functions startof, endof seem to have been deprecated, in favor of firstindex, lastindex, respectively, but they have been inconstently updated. In the reference below, startof remains the only possibility (firstindex(m::SortedMultiDict) for instance does not exist), while the opposite occurs with lastindex which seems to have replaced the method endof.
https://github.com/JuliaCollections/DataStructures.jl/blob/3776698802d7ee1581a60f006abd351ea69588cf/src/tokens2.jl#L9C1-L19C68
Moreover, the doc still reflects the old syntax (startof, endof) as current, see for instance https://juliacollections.github.io/DataStructures.jl/stable/sorted_containers/#Tokens-for-Sorted-Containers-1
Functions
startof,endofseem to have been deprecated, in favor offirstindex,lastindex, respectively, but they have been inconstently updated. In the reference below,startofremains the only possibility (firstindex(m::SortedMultiDict)for instance does not exist), while the opposite occurs withlastindexwhich seems to have replaced the methodendof.https://github.com/JuliaCollections/DataStructures.jl/blob/3776698802d7ee1581a60f006abd351ea69588cf/src/tokens2.jl#L9C1-L19C68
Moreover, the doc still reflects the old syntax (
startof,endof) as current, see for instance https://juliacollections.github.io/DataStructures.jl/stable/sorted_containers/#Tokens-for-Sorted-Containers-1