|
|||||||||
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 Recyclable
public abstract void release()
release
in interface Recyclable
public Recyclable getNextRecyclable()
setNextRecyclable
.
getNextRecyclable
in interface Recyclable
Recyclable.setNextRecyclable(lejos.util.Recyclable)
public void setNextRecyclable(Recyclable r)
setNextRecyclable
in interface Recyclable
Recyclable.getNextRecyclable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |