Class 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 Detail

      • Take

        public Take()
    • Method Detail

      • hashCode

        public int hashCode()
        Get the hashcode.
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Test if equal to other object.
        Overrides:
        equals in class java.lang.Object