Appends a string element to this sequence, if it doesn't already exist in the sequence.
Appends a string element to this sequence, if it doesn't already exist in the sequence.
If the string element already exists in this sequence, this method returns itself. If not,
this method returns a new MultiSelOptionSeq with the passed value appended to the
end of the original MultiSelOptionSeq.
a MultiSelOptionSeq that contains the passed string value
Removes a string element to this sequence, if it already exists in the sequence.
Removes a string element to this sequence, if it already exists in the sequence.
If the string element does not already exist in this sequence, this method returns itself. If the element
is contained in this sequence, this method returns a new MultiSelOptionSeq with the passed value
removed from the the original MultiSelOptionSeq, leaving any other elements in the same order.
a MultiSelOptionSeq that contains the passed string value
Selects an element by its index in the sequence.
Selects an element by its index in the sequence.
This method invokes apply on the underlying immutable IndexedSeq[String], passing in idx, and returns the result.
the index to select
the element of this sequence at index idx, where 0 indicates the first element
The length of this sequence.
The length of this sequence.
This method invokes length on the underlying immutable IndexedSeq[String] and returns the result.
the number of elements in this sequence
An alternate way to present the result of the snap method of trait Snapshots that
puts each variable or expression on its own line.
An alternate way to present the result of the snap method of trait Snapshots that
puts each variable or expression on its own line.
Here's an example:
scala> snap(a, b, c, d, e, f).lines res4: String = a was 1 b was 2 c was 3 d was 4 e was null f was null
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
The default way to present the result of the snap method of trait Snapshots.
The default way to present the result of the snap method of trait Snapshots.
Here's an example:
scala> snap(a, b, c, d, e, f) res3: org.scalactic.SnapshotSeq = a was 1, b was 2, c was 3, d was 4, e was null, f was null
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
An
IndexedSeq[Snapshot]providingtoStringandlinesmethods that can be useful for debug and log messages about program state.See the main documentation for trait
Snapshotsfor more information and examples.