Class GarbageCollectorAgent.Take
- java.lang.Object
-
- jadex.bdiv3.examples.garbagecollector.GarbageCollectorAgent.Take
-
- Enclosing class:
- GarbageCollectorAgent
public static class GarbageCollectorAgent.Take extends java.lang.ObjectGoal for picking up a piece of waste, bringing it to some burner and going back. A new goal is created whenever the actual position is dirty and there is no burner present.
-
-
Constructor Summary
Constructors Constructor Description Take()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancheckCreate(GarbageCollectorAgent outer, ISpaceObject garbage, ChangeEvent event)booleanequals(java.lang.Object obj)Test if equal to other object.inthashCode()Get the hashcode.
-
-
-
Method Detail
-
checkCreate
public static boolean checkCreate(GarbageCollectorAgent outer, ISpaceObject garbage, ChangeEvent event)
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equal to other object.- Overrides:
equalsin classjava.lang.Object
-
-