Number of tokens in a range from token1
to token2
.
Number of tokens in a range from token1
to token2
.
If token2 < token1
, then range wraps around.
Defines how to group tokens into buckets, useful for partitioning
Creates a token from its string representation
Defines how to compare tokens
Converts a token to its string representation
Total token count in a ring.
Fraction of the ring in a range from token1
to token2
.
Fraction of the ring in a range from token1
to token2
.
If token2 < token1
, then range wraps around.
Returns 1.0 for a full ring range, 0.0 for an empty range.
(tokenFactory: StringAdd).self
(tokenFactory: StringFormat).self
(tokenFactory: ArrowAssoc[TokenFactory[V, T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(tokenFactory: Ensuring[TokenFactory[V, T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead