private void _resolveOverflowStart(int index) { assert _stations != null; assert index >= 0; assert index < _stations.size(); Station station = _stations.get(index); station.setOverflowStart(true); if (station.hasNext() && station.getNext().isDisabled()) { // If next stop is disabled, so is the overflow station.setDisabled(true); } station.setPrevious(null); }