?? countingoutputstream.java
字號:
package com.anotherbigidea.io;
import java.io.OutputStream;
/**
* An OutputStream that provides a count of the bytes written.
*
* @author nick
*/
public abstract class CountingOutputStream extends OutputStream {
protected int mCount = 0;
/**
* @return the bytes-written counter
*/
public int getCount() {
return mCount;
}
/**
* Set the counter.
*/
public void setCount( int count ) {
mCount = count;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -