|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.util.AbstractRecyclable
public abstract class AbstractRecyclable
Represents a recyclable object.
Recycler| Constructor Summary | |
|---|---|
AbstractRecyclable()
|
|
| Method Summary | |
|---|---|
Recyclable |
getNextRecyclable()
Must return Recyclable most recently set with setNextRecyclable. |
abstract void |
init()
Initializes the Recyclable. |
abstract void |
release()
Called by users when this Recyclable is no longer needed. |
void |
setNextRecyclable(Recyclable r)
Stores a Recyclable object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public AbstractRecyclable()
| Method Detail |
|---|
public abstract void init()
init in interface Recyclablepublic abstract void release()
release in interface Recyclablepublic Recyclable getNextRecyclable()
setNextRecyclable.
getNextRecyclable in interface RecyclableRecyclable.setNextRecyclable(lejos.util.Recyclable)public void setNextRecyclable(Recyclable r)
setNextRecyclable in interface RecyclableRecyclable.getNextRecyclable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||