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

📄 persistentenum.java

📁 用Java实现的23个常用设计模式源代码
💻 JAVA
字号:
//$Id: PersistentEnum.java,v 1.5 2003/06/19 05:07:03 oneovthafew Exp $package net.sf.hibernate;/** * Implementors of <tt>PersistentEnum</tt> are enumerated types persisted to * the database as <tt>SMALLINT</tt>s. As well as implementing <tt>toInt()</tt>, * a <tt>PersistentEnum</tt> must also provide a static method with the * signature:<br> * <br> * 		<tt>public static PersistentEnum fromInt(int i)</tt> * * @author Gavin King */public interface PersistentEnum {	public int toInt();}

⌨️ 快捷键说明

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