mono.java
来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 42 行
JAVA
42 行
//$Id: Mono.java,v 1.1.2.1 2003/11/08 02:25:29 oneovthafew Exp $
package org.hibernate.test;
import java.util.Set;
public class Mono extends Top {
private Set strings;
/**
* Constructor for Mono.
* @param c
*/
public Mono(int c) {
super(c);
}
/**
* Constructor for Mono.
*/
public Mono() {
super();
}
/**
* Returns the strings.
* @return Set
*/
public Set getStrings() {
return strings;
}
/**
* Sets the strings.
* @param strings The strings to set
*/
public void setStrings(Set strings) {
this.strings = strings;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?