public InfoBarTransitionInfo findLastTransitionForInfoBar(InfoBar toFind){
  Iterator<InfoBarTransitionInfo> iterator=mInfoBarTransitions.descendingIterator();
  while (iterator.hasNext()) {
    InfoBarTransitionInfo info=iterator.next();
    if (info.target == toFind)     return info;
  }
  return null;
}

public InfoBarTransitionInfo findLastTransitionForInfoBar ( InfoBar toFind ) { Iterator < InfoBarTransitionInfo > iterator = mInfoBarTransitions . descendingIterator ( ) ; while ( iterator . hasNext ( ) ) { InfoBarTransitionInfo info = iterator . next ( ) ; if ( info . target == toFind ) return info ; } return null ; }
returns the latest infobartransitioninfo that deals with the given infobar .
