Class GarbageBurnerAgent.Burn

  • Enclosing class:
    GarbageBurnerAgent

    public static class GarbageBurnerAgent.Burn
    extends java.lang.Object
    The 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.
    • 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 goal.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The other object.
        Returns:
        True, if equal.