PeekableStream.st
changeset 88 81dacba7a63a
parent 77 6c38ca59927f
child 93 e31220cb391f
equal deleted inserted replaced
87:a0cc38a72871 88:81dacba7a63a
    16        poolDictionaries:''
    16        poolDictionaries:''
    17        category:'Streams'
    17        category:'Streams'
    18 !
    18 !
    19 
    19 
    20 PeekableStream comment:'
    20 PeekableStream comment:'
    21 
       
    22 COPYRIGHT (c) 1994 by Claus Gittinger
    21 COPYRIGHT (c) 1994 by Claus Gittinger
    23               All Rights Reserved
    22               All Rights Reserved
    24 
       
    25 $Header: /cvs/stx/stx/libbasic/PeekableStream.st,v 1.3 1994-05-17 10:08:31 claus Exp $
       
    26 
       
    27 abstract superclass for all Stream which support read-ahead
       
    28 (i.e. peeking) of one element.
       
    29 '!
    23 '!
       
    24 
       
    25 !PeekableStream class methodsFor:'documentation'!
       
    26 
       
    27 copyright
       
    28 "
       
    29  COPYRIGHT (c) 1994 by Claus Gittinger
       
    30               All Rights Reserved
       
    31 
       
    32  This software is furnished under a license and may be used
       
    33  only in accordance with the terms of that license and with the
       
    34  inclusion of the above copyright notice.   This software may not
       
    35  be provided or otherwise made available to, or used by, any
       
    36  other person.  No title to or ownership of the software is
       
    37  hereby transferred.
       
    38 "
       
    39 !
       
    40 
       
    41 version
       
    42 "
       
    43 $Header: /cvs/stx/stx/libbasic/PeekableStream.st,v 1.4 1994-06-02 16:21:13 claus Exp $
       
    44 "
       
    45 !
       
    46 
       
    47 documentation
       
    48 "
       
    49     abstract superclass for all Stream which support read-ahead
       
    50     (i.e. peeking) of one element.
       
    51     Concrete subclasses must implement a peek method.
       
    52 "
       
    53 ! !
    30 
    54 
    31 !PeekableStream methodsFor:'reading'!
    55 !PeekableStream methodsFor:'reading'!
    32 
    56 
    33 peek 
    57 peek 
    34     "return the next element of the stream without advancing (i.e.
    58     "return the next element of the stream without advancing (i.e.