webhit.java

来自「使用jfreechart开发的统计图表的例子(web工程)」· Java 代码 · 共 47 行

JAVA
47
字号
/*
 * This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * ---------------------------
 * WebHit.java
 * ---------------------------
 * (C) Copyright 2002-2004, by Richard Atkinson.
 *
 * Original Author:  Richard Atkinson;
 */
package org.jfree.chart.demo.servlet;

import java.util.Date;

public class WebHit {
	protected Date hitDate = null;
	protected String section = null;
	protected long hitCount = 0;

    public WebHit(Date dHitDate, String sSection, long lHitCount) {
		this.hitDate = dHitDate;
		this.section = sSection;
		this.hitCount = lHitCount;
    }

	public Date getHitDate() {
		return this.hitDate;
	}
	public String getSection() {
		return this.section;
	}
	public long getHitCount() {
		return this.hitCount;
	}

	public void setHitDate(Date dHitDate) {
		this.hitDate = dHitDate;
	}
	public void setSection(String sSection) {
		this.section = sSection;
	}
	public void setHitCount(long lHitCount) {
		this.hitCount = lHitCount;
	}

}

⌨️ 快捷键说明

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