通过ISA2006的DMZ对内以及通过JuniperNS50的DMZ对外发布Web服务器
2010-03-22 14:40
351 查看
package com.my.Util; import java.util.Set; //dao data access object--->crud public class GenericDao<E> { public void add(E x){ } public E findById(int id){ return null; } public void delete(E obj){ } public void delete(int id){ } public void update(E obj){ } public static <E> void update2(E obj){ } public E findByUserName(String name){ return null; } public Set<E> findByConditions(String where){ return null; } }
package com.my.Util;
import java.util.Date;
public class ReflectPoint {
private Date birthday = new Date();
private int x;
public int y;
public String str1 = "ball";
public String str2 = "basketball";
public String str3 = "itcast";
public ReflectPoint(int x, int y) {
super();
this.x = x;
this.y = y;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + x;
result = prime * result + y;
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final ReflectPoint other = (ReflectPoint) obj;
if (x != other.x)
return false;
if (y != other.y)
return false;
return true;
}
@Override
public String toString(){
return str1 + ":" + str2 + ":" + str3;
}
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
}
更多泛型详细讲解:http://write.blog.csdn.net/postedit
相关文章推荐
- ISA 2006 实验指南(八)发布Web服务器
- ISA 2006 实验指南(九)发布安全Web服务器
- wdcp wdCP是WDlinux Control Panel的简称,是一套通过WEB控制和管理服务器的Linux服务器管理系统以及虚拟主机管理系统,旨在易于使用Linux系统做为我们的网站服务器系
- 阿里云9.9元服务器的购买以及把javaWeb项目发布到上面去
- ISA安全地发布Web服务器
- ISA 2006发布SSL WEB站点失败--细节
- ISA发布服务器实验之(Web)
- ISA2006发布Exchange服务器之RPC Over HTTPS 推荐
- 在ISA Server 2006中发布安全Web服务
- 解决对外发布的WEB服务器无法访问的问题
- 局域网中,把数台电脑上的文件,通过一台VSFTP服务器一起对外发布,有几种方法?
- C#通过websevice发布到IIS 上传到服务器(转载)
- RHEL 4 Sendmail邮件服务器搭建之五:通过Web服务器发布、管理Webmail
- ISA2006发布Exchange服务器 RPC OVER HTTPS 推荐
- ISA 2006 发布MMS服务器
- ISA Server 2004 服务器发布管理之Web服务器和终端服务器发布管理
- 关于ISA发布非web服务器的体会
- 在云服务器上搭建JSP环境并发布web项目(通过域名访问自己写的项目)
- 通过开发工具发布web应用到tomcat服务器中--对于小白,大神可以忽略不看,勿喷,谢谢