abstractrecyclable.java
来自「专业汽车级嵌入式操作系统OSEK的源代码」· Java 代码 · 共 38 行
JAVA
38 行
package lejos.util;/** * Represents a recyclable object. * @see lejos.util.Recycler */public abstract class AbstractRecyclable implements Recyclable { private Recyclable nextRecyclable; /** * Initializes the Recyclable. */ public abstract void init(); /** * Called by users when this Recyclable is no longer needed. */ public abstract void release(); /** * Must return Recyclable most recently set with * <code>setNextRecyclable</code>. * @see lejos.util.Recyclable#setNextRecyclable */ public Recyclable getNextRecyclable() { return this.nextRecyclable; } /** * Stores a Recyclable object. * @see lejos.util.Recyclable#getNextRecyclable */ public void setNextRecyclable (Recyclable r) { this.nextRecyclable = r; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?