cn.nukkit.nbt.stream.PGZIPThreadLocal Maven / Gradle / Ivy
package cn.nukkit.nbt.stream;
public class PGZIPThreadLocal extends ThreadLocal {
private final PGZIPOutputStream parent;
public PGZIPThreadLocal(PGZIPOutputStream parent) {
this.parent = parent;
}
@Override
protected PGZIPState initialValue() {
return new PGZIPState(parent);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy