question: public IGroupInfo findExactGroup ( List < String > initiators ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "find igroup containing all initiators: " + initiators ) ; } IGroupInfo notFound = new IGroupInfo ( ) ; notFound . setName ( null ) ; IGroup igroup = new IGroup ( server . getNaServer ( ) , null ) ; for ( IGroupInfo info : igroup . listInitiatorGroups ( true ) ) { ArrayList < String > list = new ArrayList < String > ( initiators ) ; for ( String initiator : info . getInitiators ( ) ) { if ( ! list . remove ( initiator ) ) { list . add ( "fail" ) ; } else { notFound . setOsType ( info . getOsType ( ) ) ; } } if ( list . isEmpty ( ) ) { return info ; } } return notFound ; }
target:  find first group containing exactly the specified initiators.