public List < MenuItem > getMenuItems ( MenuItem item ) { synchronized ( subMenuItems ) { ArrayList < MenuItem > menuItems = subMenuItems . get ( item ) ; return menuItems == null ? null : Collections . unmodifiableList ( menuItems ) ; } }
Get a list of all menu items for a given submenu