versiontype.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 26 行

JAVA
26
字号
//$Id: VersionType.java,v 1.4 2003/04/25 03:40:37 oneovthafew Exp $package net.sf.hibernate.type;/** * A <tt>Type</tt> that may be used to version data. * @author Gavin King */public interface VersionType extends Type {	/**	 * Generate an initial version.	 * @return an instance of the type	 */	public Object seed();	/**	 * Increment the version.	 * @param current the current version	 * @return an instance of the type	 */	public Object next(Object current);}

⌨️ 快捷键说明

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