diff options
author | Martin Odersky <odersky@gmail.com> | 2009-02-05 19:25:43 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-02-05 19:25:43 +0000 |
commit | 0ecacced0347e4e3b83989a274b9de53868a3a57 (patch) | |
tree | cf5bb351b3acef82ad88862bee320b9c6e32a4c3 /src/library/scalax/collection/generic/SequenceTemplate.scala | |
parent | 48355ee28a930f19000901d761f24ca44b324c1f (diff) | |
download | scala-0ecacced0347e4e3b83989a274b9de53868a3a57.tar.gz scala-0ecacced0347e4e3b83989a274b9de53868a3a57.tar.bz2 scala-0ecacced0347e4e3b83989a274b9de53868a3a57.zip |
added support for Strings, arrays, sets.
Diffstat (limited to 'src/library/scalax/collection/generic/SequenceTemplate.scala')
-rwxr-xr-x | src/library/scalax/collection/generic/SequenceTemplate.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scalax/collection/generic/SequenceTemplate.scala b/src/library/scalax/collection/generic/SequenceTemplate.scala index 27bba86ba0..3407f63216 100755 --- a/src/library/scalax/collection/generic/SequenceTemplate.scala +++ b/src/library/scalax/collection/generic/SequenceTemplate.scala @@ -324,6 +324,9 @@ self /*: CC[A]*/ => */ override def toSequence: Sequence[A] = thisCC + /** Force toString from Iterable, not from Function */ + override def toString = super[OrderedIterableTemplate].toString + def indices: Range = 0 until length /** Creates a view of this iterable @see OrderedIterable.View |