added: #size
authorClaus Gittinger <cg@exept.de>
Sun, 05 Aug 2012 18:38:41 +0200
changeset 14303 b6c666a01a4d
parent 14302 942f7578bab2
child 14304 de0dd4c4c40a
added: #size
Stream.st
--- a/Stream.st	Sun Aug 05 18:22:41 2012 +0200
+++ b/Stream.st	Sun Aug 05 18:38:41 2012 +0200
@@ -1918,6 +1918,14 @@
     "Created: / 29.5.1998 / 16:57:48 / cg"
 !
 
+size
+    "return the number of elements in the streamed collection."
+
+    self subclassResponsibility
+
+    "Created: / 05-08-2012 / 18:38:12 / cg"
+!
+
 terminalType
     ^ 'dump'
 ! !
@@ -3243,11 +3251,11 @@
 !Stream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.191 2012-07-27 07:32:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.192 2012-08-05 16:38:41 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.191 2012-07-27 07:32:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Stream.st,v 1.192 2012-08-05 16:38:41 cg Exp $'
 ! !
 
 Stream initialize!