V1.0
This commit is contained in:
@@ -7,9 +7,10 @@ import java.util.concurrent.atomic.AtomicLong;
|
||||
public class OutputMetre extends OutputStream {
|
||||
|
||||
private OutputStream out;
|
||||
private AtomicLong total=new AtomicLong(0);
|
||||
public OutputMetre(OutputStream outputStream) {
|
||||
private AtomicLong total;
|
||||
public OutputMetre(OutputStream outputStream,AtomicLong v) {
|
||||
this.out=outputStream;
|
||||
this.total=v;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -40,4 +41,6 @@ public class OutputMetre extends OutputStream {
|
||||
out.close();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user