Class GarbageBurnerAgent.Burn
- java.lang.Object
- 
- jadex.bdiv3.examples.garbagecollector.GarbageBurnerAgent.Burn
 
- 
- Enclosing class:
- GarbageBurnerAgent
 
 public static class GarbageBurnerAgent.Burn extends java.lang.ObjectThe burn waste goal. For every garbage occurring at its position a new goal is craeted (see binding). The unique tag avoids creating more than one goal per specific piece of garbage.
- 
- 
Field SummaryFields Modifier and Type Field Description protected ISpaceObjectgarbageThe garbage.protected GarbageBurnerAgentouterThe agent.
 - 
Constructor SummaryConstructors Constructor Description Burn(GarbageBurnerAgent outer, ISpaceObject garbage)Create a new burn goal.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GarbageBurnerAgent.BurncheckCreate(GarbageBurnerAgent outer, ISpaceObject garbage, ChangeEvent event)booleanequals(java.lang.Object obj)Test if equal to other goal.inthashCode()Get the hashcode.
 
- 
- 
- 
Field Detail- 
outerprotected GarbageBurnerAgent outer The agent.
 - 
garbageprotected ISpaceObject garbage The garbage.
 
- 
 - 
Constructor Detail- 
Burnpublic Burn(GarbageBurnerAgent outer, ISpaceObject garbage) Create a new burn goal.
 
- 
 - 
Method Detail- 
checkCreatepublic static GarbageBurnerAgent.Burn checkCreate(GarbageBurnerAgent outer, ISpaceObject garbage, ChangeEvent event) 
 - 
hashCodepublic int hashCode() Get the hashcode.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if equal to other goal.- Overrides:
- equalsin class- java.lang.Object
- Parameters:
- obj- The other object.
- Returns:
- True, if equal.
 
 
- 
 
-