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

📄 classrecord.java

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

import java.util.LinkedList;


/**
 * ClassRecord: keep the message of one class
 * @author  QianYin
 * @version  Wed Sep 20 22:15:00 2006        
*/
public class ClassRecord 
{
	private LinkedList items;
	private int size ;
	private String description;
	
	
	
	/**
	 * method
	 * @param str
	 */
	public ClassRecord(String str)
	{
		super();
		// TODO Auto-generated constructor stub
		this.description = str;
		this.size = 0;
		items = new LinkedList();
	}
	
	
	
	/**
	 * method
	 * @param item
	 */
	public void addItem(MethodItem item)
	{
		items.add(item);
	}
	
	
	/**
	 * method
	 *
	 */
	public void autoIncSize()
	{
		this.size++;
	}

	/**
	 * method
	 *
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * method
	 *
	 */
	public int getSize() {
		return size;
	}
	
	/**
	 * method
	 *
	 */
	public int getItemNum()
	{
		return this.items.size();
	}

	/**
	 * method
	 *
	 */
	public LinkedList getItems() {
		return items;
	}

	
}

⌨️ 快捷键说明

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