Class Task

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Task.TaskBuilder
      The task builder customizes the builder object to hide some of the details away from the user.
    • Constructor Summary

      Constructors 
      Constructor Description
      Task()  
    • Constructor Detail

      • Task

        public Task()
    • Method Detail

      • builder

        public static Task.TaskBuilder builder​(long parentIdentifier,
                                               java.lang.String name)
      • equals

        public boolean equals​(java.lang.Object obj)
        What defines a task as unique is its task identifier and its challenge name. So even if the geometry or description or other member variables are different, it will be defined as equal if those two values are equal
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to compare it against
        Returns:
        whether it matches the supplied object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object