made a copy
[strongtalk-kjk.git] / StrongtalkSource / OutputStream.str
blobc3cfced6038a7f37780c6bab603b13499b461529
1 Delta define: #OutputStream as: (\r
2 Generic forAll: '(E contra) ' body: (Protocol superProtocol: '<Object>')) !\r
3 \r
4 (Delta mirrorFor: #OutputStream) revision: '$Revision: 1.5 $'!\r
5 \r
6 (Delta mirrorFor: #OutputStream) group: 'base'!\r
7 \r
8 (Delta mirrorFor: #OutputStream)\r
9 comment: \r
10 '(c) 1995-1997 Sun Microsystems, Inc. ALL RIGHTS RESERVED. \r
11 Use and distribution of this software is subject to the terms of the attached source license.'!\r
13 ! (Delta mirrorFor: #OutputStream) methodsFor: 'Unclassified' !\r
16 close !\r
18 flush !\r
20 next: nElements <Int> put: <E> ^<Object> !\r
22 nextPut: <E> ^<Object> !\r
24 nextPutAll: <Cltn[E]> ^<Cltn[Object]> !\r
26 put: <E> ^<Object> !\r
28 putAll: <Cltn[E]> ^<Cltn[Object]> !\r
30 show: els <Cltn[E]>  ^<Cltn[Object]>! !\r