java.io.InputStream
java.io.InputStream is an abstract class on which all implementations of input streams are base.
Hints
In most cases, you will not see significant overhead from this class. If you do, try to determine whether the input stream that you are using is buffered or not.
Switching from a non-buffered to a buffered input stream might improve performance. For example, if you are using a FileInputStream object to read data from a file, try using a BufferedInputStream object instead. If your application is reading a large amount of data, you should see a significant performance improvement.
Related Topics: