| java.lang.Object java.io.InputStream org.apache.derbyTesting.functionTests.util.streams.LoopingAlphabetStream
LoopingAlphabetStream | public class LoopingAlphabetStream extends InputStream (Code) | | A stream returning a cycle of the 26 lowercase letters of the modern Latin
alphabet.
|
Method Summary | |
public int | available() Return remaining bytes in the stream. | public int | read() | public int | read(byte[] buf, int off, int length) | public void | reset() Reset the stream. |
LoopingAlphabetStream | public LoopingAlphabetStream(long length)(Code) | | Create a looping modern latin alphabet stream of the specified length.
Parameters: length - the number of characters (and also the number of bytes) |
LoopingAlphabetStream | public LoopingAlphabetStream(long length, int trailingBlanks)(Code) | | |
LoopingAlphabetStream | public LoopingAlphabetStream(long length, ByteAlphabet alphabet)(Code) | | Create a looping alphabet of the specified type and length.
Parameters: length - the number of bytes in the stream Parameters: alphabet - the alphabet to loop over |
LoopingAlphabetStream | public LoopingAlphabetStream(long length, ByteAlphabet alphabet, int trailingBlanks)(Code) | | |
available | public int available()(Code) | | Return remaining bytes in the stream.
|
read | public int read(byte[] buf, int off, int length)(Code) | | |
reset | public void reset()(Code) | | Reset the stream.
|
|
|