|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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)
UnitBoxcanContainUnit in interface UnitBoxpublic void setUnit(Unit unit)
UnitBoxsetUnit in interface UnitBoxpublic Unit getUnit()
UnitBoxgetUnit in interface UnitBox
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||