get a direction that has not been configured , or null if all directions are configured concode_field_sep PlaceHolder placeHolder concode_field_sep void removeEntry concode_elem_sep boolean isDirectlyConnected concode_elem_sep DirectionRegistry getDirection concode_elem_sep Set<Integer> getDirectlyConnectedList concode_elem_sep int getMinMetric concode_elem_sep boolean isEmpty concode_elem_sep void update concode_elem_sep int getMetric concode_elem_sep int getDirectlyConnected concode_elem_sep Set<Integer> getNotDirectlyConnectedList concode_elem_sep void setEntry concode_elem_sep Iterator<T> getOrderedRouteNumbers
Direction function ( ) { return Arrays . asList ( Direction . values ( ) ) . stream ( ) . filter ( Direction :: isCardinal ) . filter ( direction -> this . getDirectlyConnectedList ( new DirectionRegistry ( direction ) ) . isEmpty ( ) ) . findFirst ( ) . orElse ( null ) ; }