📄 abstractrecyclable.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -