Package com.helger.base.io.nonblocking
package com.helger.base.io.nonblocking
-
ClassesClassDescriptionThe
NonBlockingBitInputStreamallows reading individual bits from a general Java InputStream.TheNonBlockingBitOutputStreamallows writing individual bits to a general Java OutputStream.Non-synchronized version ofBufferedInputStream.A non-synchronized copy of the classBufferedOutputStream.A non-synchronized copy of the classBufferedReader.This is a non-blocking version ofBufferedWriter.A non-synchronized copy of the classByteArrayInputStream.A non-synchronized copy of the classByteArrayOutputStream.A non-synchronized copy of the classCharArrayWriter.
It does not use the internal lock object.A non-synchronized copy of the classPushbackInputStream.A non-synchronized copy of the classPushbackReader.A non-synchronized copy of the classStringReader.
Note: super classReaderuses the lock object internally only forlong skip(long n)and as this method is overwritten in here, the lock is never used.A non-synchronized copy of the classStringWriter.
It usesStringBuilderinstead ofStringBufferand therefore does not need synchronized access!