package Ġorg . jetbrains . ktor . util Ċ Ċ internal Ġval ĠLong Range . length : ĠLong ĊĠĠĠ Ġget () Ġ= Ġ( end Inclusive Ġ- Ġstart Ġ+ Ġ 1 ). coerce At Least ( 0 L ) Ċ Ċ internal Ġoperator Ġfun ĠLong Range . contains ( other : ĠLong Range ) Ġ= Ġother . start Ġ>= Ġstart Ġ&& Ġother . end Inclusive Ġ<= Ġend Inclusive Ċ Ċ internal Ġfun ĠList < Long Range >. is Ascending (): ĠBoolean Ġ= Ġfold ( true Ġto Ġ 0 L ) Ġ{ Ġacc , Ġe Ġ-> Ġ( acc . first Ġ&& Ġacc . second Ġ<= Ġe . start ) Ġto Ġe . start Ġ}. first