AbstractCompressionTest Class — netty Architecture
Architecture documentation for the AbstractCompressionTest class in AbstractCompressionTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c6d538d2_dfb0_83a4_14a0_0c68add3790e["AbstractCompressionTest"] a6246164_6d81_6196_9f01_ccf16631705a["AbstractCompressionTest.java"] c6d538d2_dfb0_83a4_14a0_0c68add3790e -->|defined in| a6246164_6d81_6196_9f01_ccf16631705a 9ba7441e_d0ae_0cbe_52b0_c67677500c29["fillArrayWithCompressibleData()"] c6d538d2_dfb0_83a4_14a0_0c68add3790e -->|method| 9ba7441e_d0ae_0cbe_52b0_c67677500c29
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractCompressionTest.java lines 20–38
public abstract class AbstractCompressionTest {
protected static final Random rand;
protected static final byte[] BYTES_SMALL = new byte[256];
protected static final byte[] BYTES_LARGE = new byte[256 * 1024];
static {
rand = new Random();
fillArrayWithCompressibleData(BYTES_SMALL);
fillArrayWithCompressibleData(BYTES_LARGE);
}
private static void fillArrayWithCompressibleData(byte[] array) {
for (int i = 0; i < array.length; i++) {
array[i] = i % 4 != 0 ? 0 : (byte) rand.nextInt();
}
}
}
Defined In
Source
Frequently Asked Questions
What is the AbstractCompressionTest class?
AbstractCompressionTest is a class in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractCompressionTest.java.
Where is AbstractCompressionTest defined?
AbstractCompressionTest is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/AbstractCompressionTest.java at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free