Class GarbageCollectorAgent.Take
- java.lang.Object
-
- jadex.bdiv3.examples.garbagecollector.GarbageCollectorAgent.Take
-
- Enclosing class:
- GarbageCollectorAgent
public static class GarbageCollectorAgent.Take extends java.lang.Object
Goal 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 boolean
checkCreate(GarbageCollectorAgent outer, ISpaceObject garbage, ChangeEvent event)
boolean
equals(java.lang.Object obj)
Test if equal to other object.int
hashCode()
Get the hashcode.
-
-
-
Method Detail
-
checkCreate
public static boolean checkCreate(GarbageCollectorAgent outer, ISpaceObject garbage, ChangeEvent event)
-
hashCode
public int hashCode()
Get the hashcode.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if equal to other object.- Overrides:
equals
in classjava.lang.Object
-
-