📄 isequencegenerator.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 + -