IndexLabel

Provides labels based on index for items in an ordered sequence.

Companion:
object
class Object
trait Matchable
class Any
object Alpha.type
object NumericFrom0.type
object NumericFrom1.type
object Roman.type

Value members

Abstract methods

def label(index: Int): String
Value parameters:
index

≥ 0

def parse(label: String): Option[Int]

Attempt to interpret a label.

Attempt to interpret a label.

Parsing should be lenient and accept differences in case, trailing zeros, etc. Whitespace on the other hand shouldn't be considered.

Returns:

Option(_ ≥ 0)