question: public void navigateOut ( final TeamExplorerNavigationItemConfig currentNavItem ) { Check . isTrue ( currentItemBufferIndex >= 0 , "currentItemBufferIndex >= 0" ) ; final List < TeamExplorerNavigationItemConfig > navItemsToRemove = new ArrayList < TeamExplorerNavigationItemConfig > ( ) ; for ( final TeamExplorerNavigationItemConfig item : navigationBuffer ) { if ( item . equals ( currentNavItem ) ) { navItemsToRemove . add ( item ) ; } } navigationBuffer . removeAll ( navItemsToRemove ) ; currentItemBufferIndex = navigationBuffer . size ( ) - 1 ; nextNavigation = null ; fireNavigationBufferChangedEvent ( ) ; doNavigation ( getCurrentItem ( ) ) ; }
target:  Delete current navigation item in the navigate buffer and navigate to the most recent page