knownvalue.java
来自「displaytag-1.0修正版」· Java 代码 · 共 53 行
JAVA
53 行
package org.displaytag.test;
/**
* Simple test data provider.
* @author rapruitt
* @version $Revision: 1.1 $ ($Author: fgiust $)
*/
public class KnownValue
{
/**
* constant for the "ant" property (this is both the property name and value).
*/
public static final String ANT = "ant";
/**
* constant for the "bee" property (this is both the property name and value).
*/
public static final String BEE = "bee";
/**
* constant for the "camel" property (this is both the property name and value).
*/
public static final String CAMEL = "camel";
/**
* getter for the "ant" property.
* @return ANT
*/
public String getAnt()
{
return ANT;
}
/**
* getter for the "bee" property.
* @return BEE
*/
public String getBee()
{
return BEE;
}
/**
* getter for the "camel" property.
* @return CAMEL
*/
public String getCamel()
{
return CAMEL;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?