@@ -0,0 +1,943 @@
+package com.kodcu.service.ui;%0A%0Aimport com.kodcu.other.Item;%0Aimport javafx.scene.Node;%0Aimport javafx.scene.control.TreeItem;%0A%0Aimport java.nio.file.Path;%0Aimport java.util.Objects;%0Aimport java.util.Optional;%0A%0A/**%0A * Created by usta on 03.07.2016.%0A */%0Apublic class PathItem extends TreeItem %7B%0A%0A    public PathItem(Item item, Node graphic) %7B%0A        super(item, graphic);%0A    %7D%0A%0A    private PathItem() %7B%0A        super();%0A    %7D%0A%0A    public PathItem(Item item) %7B%0A        super(item);%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A        PathItem pathItem = (PathItem) o;%0A%0A        Item item = (Item) pathItem.getValue();%0A%0A        if (item == null) %7B%0A            return false;%0A        %7D%0A%0A        return Objects.equals(getValue(), item);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Objects.hash(getValue());%0A    %7D%0A%7D%0A

Develop a PathItem TreeItem implementation to compare by Path