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

📄 isequencegenerator.java

📁 uPortal是开放源码的Portal门户产品
💻 JAVA
字号:
package org.jasig.portal;/** * An interface for returning sequences derived from named counters. * * The following methods are devoted to creating and using these counters, * which can be used as oids.   * <p> *    <code>createCounter(String name)</code> *    <code>getNextInt()</code> *    <code>getNextInt(String name)</code> *    <code>setCounter(String name)</code> * <p> * ISequenceGenerator inherits the following more general methods from  * IOIDGenerator, which return Strings: * <p> *    <code>getNext()</code> *    <code>getNext(String name)</code> * <p> * * @author Dan Ellentuck * @version $Revision: 1.2 $ */public interface ISequenceGenerator extends IOIDGenerator {/** * @param name java.lang.String * @exception java.lang.Exception */public void createCounter(String name) throws java.lang.Exception;/** * @return int * @exception java.lang.Exception The exception description. */public int getNextInt() throws java.lang.Exception;/** * @return int * @param name java.lang.String * @exception java.lang.Exception The exception description. */public int getNextInt(String name) throws java.lang.Exception;/** * @param name java.lang.String * @param newValue int * @exception java.lang.Exception */public void setCounter(String name, int newValue) throws java.lang.Exception;}

⌨️ 快捷键说明

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