public List<String> getPointsFartherFromCenterThan(double maxDistance) {
        Set<Map.Entry<String, Double>> sorted = getReverseSortedPointDistancesFromCenter();
        List<String> ids = new ArrayList<>();
        for (Map.Entry<String, Double> entry : sorted) {
            if (inverse && entry.getValue() < -maxDistance) {
                if (entry.getValue() < -maxDistance)
                    break;
            }

            else if (entry.getValue() > maxDistance)
                break;

            ids.add(entry.getKey());
        }
        return ids;
    }
public List < String > getPointsFartherFromCenterThan ( double maxDistance ) { Set < Map . Entry < String , Double > > sorted = getReverseSortedPointDistancesFromCenter ( ) ; List < String > ids = new ArrayList < > ( ) ; for ( Map . Entry < String , Double > entry : sorted ) { if ( inverse && entry . getValue ( ) < - maxDistance ) { if ( entry . getValue ( ) < - maxDistance ) break ; } else if ( entry . getValue ( ) > maxDistance ) break ; ids . add ( entry . getKey ( ) ) ; } return ids ; }
@param maxDistance
@return