java.lang.Object
net.i2p.data.DataHelper.DecompressCacheHolder
- Enclosing class:
DataHelper
The shared output buffer for
DataHelper.decompress(byte[]).A holder class rather than a static field of DataHelper, so the lookup is done once and I2PAppContext is still not initialized until the first call. The entry size is invariant, so the cache never needs resizing.
Field Summary
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNot called, the cache holder class is never instantiated.Method Summary
Field Details
CACHE
Not a DataHelper static field - see the class comment.
Constructor Details
DecompressCacheHolder
private DecompressCacheHolder()Not called, the cache holder class is never instantiated.