|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.AbstractUnitBox
Reference implementation for UnitBox; just add a canContainUnit method.
Constructor Summary | |
AbstractUnitBox()
|
Method Summary | |
abstract boolean |
canContainUnit(Unit u)
Returns true if this box can contain the given Unit. |
Unit |
getUnit()
Returns the unit contained within this box. |
void |
setUnit(Unit unit)
Sets this box to contain the given unit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractUnitBox()
Method Detail |
public abstract boolean canContainUnit(Unit u)
UnitBox
canContainUnit
in interface UnitBox
public void setUnit(Unit unit)
UnitBox
setUnit
in interface UnitBox
public Unit getUnit()
UnitBox
getUnit
in interface UnitBox
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |