Given an elt in the Span, return true if the span contains an additional element after elt.
Given an elt in the Span, return true if the span contains an additional element before elt.
Return a sequence of n elements after the last element of this span.
Return a sequence of n elements after the last element of this span. May return a sequence of length less than n if there are insufficient elements.
Given a span within the same chain as this one, return true if the two spans overlap by at least one element.
Return a sequence of n elements before the beginning of this span.
Return a sequence of n elements before the beginning of this span. May return a sequence of length less than n if there are insufficient elements.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
An immutable value indicating a subsequence of a Chain (and whether this span is to be considered present or "active" now).