⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 methoditem.java

📁 PSP个人软件过程第二个练习
💻 JAVA
字号:

package psp0_2;
import java.io.*;

/**
 * FunctionItem: keep the message of one function in certain class
 * @author  QianYin
 * @version  Wed Sep 20 22:10:00 2006        
*/
public class MethodItem 
{

	private String description;
	private int size;
	
	
	/**
	 * method
	 * @param str
	 */
	public MethodItem(String str) 
	{
		super();
		// TODO Auto-generated constructor stub
		this.description = str;
		size = 0;
	}

	
	/**
	 * method
	 *
	 */
	public void autoIncSize()
	{
		this.size++;
	}

	/**
	 * method
	 *
	 */
	public void autoDecSize()
	{
		this.size--;
	}
	
	
	/**
	 * method
	 *
	 */
	public String getDescription() {
		return description;
	}

	
	/**
	 * method
	 *
	 */
	public int getSize() {
		return size;
	}
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -