@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Waypoint waypoint = (Waypoint) o;

        if (latitude != waypoint.latitude) return false;
        if (longitude != waypoint.longitude) return false;
        if (message != null ? !message.equals(waypoint.message) : waypoint.message != null) return false;

        return true;
    }