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

📄 knowntypes.java

📁 一个比较不错的java分页标签,有源代码,开发者 可以学习学习
💻 JAVA
字号:
package org.displaytag.test;

import java.util.Date;


/**
 * Simple test data provider.
 * @author Fabrizio Giustina
 * @version $Revision: 907 $ ($Author: fgiust $)
 */
public class KnownTypes
{

    /**
     * constant for the "time" property name.
     */
    public static final String TIME_PROPERTY = "time";

    /**
     * constant for the "time" property value. For the curious, evals to Mon Mar 01 18:00:00 CST 3875 (if you are in
     * Chicago).
     */
    public static final Date TIME_VALUE = new Date(60121180800000L);

    /**
     * constant for the "long" property name.
     */
    public static final String LONG_PROPERTY = "long";

    /**
     * constant for the "long" property value.
     */
    public static final Long LONG_VALUE = new Long(123456);

    /**
     * getter for the <code>TIME_PROPERTY</code> property.
     * @return <code>TIME_VALUE</code>
     */
    public Date getTime()
    {
        return TIME_VALUE;
    }

    /**
     * getter for the <code>LONG_PROPERTY</code> property.
     * @return <code>LONG_VALUE</code>
     */
    public Long getLong()
    {
        return LONG_VALUE;
    }

    /**
     * getter for a null property.
     * @return <code>null</code>
     */
    public Long getNullValue()
    {
        return null;
    }

}

⌨️ 快捷键说明

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