src/main/java/de/blau/android/easyedit/ExtendSelectionActionModeCallback.java
/**
     * Check if the current selection are ways that can be intersected
     * 
     * @param ways the current selected ways
     * @return true if the ways intersect
     */
Check if the current selection are ways that can be intersected

@param ways the current selected ways
@return true if the ways intersect
Check if the current selection are ways that can be intersected @param ways the current selected ways @return true if the ways intersect
private boolean intersect(@Nullable List<Way> ways) {
        if (ways != null && !ways.isEmpty()) {
            List<Coordinates> intersections = BentleyOttmannForOsm.findIntersections(ways);
            return !intersections.isEmpty();
        }
        return false;
    }
private boolean intersect ( @ Nullable List < Way > ways ) { if ( ways != null && ! ways . isEmpty ( ) ) { List < Coordinates > intersections = BentleyOttmannForOsm . findIntersections ( ways ) ; return ! intersections . isEmpty ( ) ; } return false ; }
Check if the current selection are ways that can be intersected
Check if the current selection are ways that can be intersected