sam.io
Class MultiThreadedByteArrayFilter
java.lang.Object
|
+--sam.io.ByteArrayFilter
|
+--sam.io.MultiThreadedByteArrayFilter
- public class MultiThreadedByteArrayFilter
- extends ByteArrayFilter
Class for filtering byte[]
arrays
using multiple threads in parallel to increase performance.
Method Summary |
protected void |
filter(byte[] data,
int begin)
Filters the data byte[] array
from position offset up to offset + length - 1 . |
void |
filter(byte[] data,
int begin,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiThreadedByteArrayFilter
public MultiThreadedByteArrayFilter(sam.io.ByteArrayFilter filter,
sam.toolkit.Workshop workshop,
int minimalBlockSize)
filter
protected void filter(byte[] data,
int begin)
- Description copied from class:
ByteArrayFilter
- Filters the
data
byte[]
array
from position offset
up to offset + length - 1
.
- Specified by:
filter
in class ByteArrayFilter
filter
public void filter(byte[] data,
int begin,
int length)
- Overrides:
filter
in class ByteArrayFilter