question: static private List < Initiator > addHostInitiators ( int numberInitiators , URI hostId , String hostName ) { List < Initiator > initiators = new ArrayList < Initiator > ( ) ; for ( int i = 0 ; i < numberInitiators ; i ++ ) { Initiator initiator = new Initiator ( ) ; initiator . setHost ( hostId ) ; initiator . setHostName ( hostName ) ; String byte1 = String . format ( "%02x" , initIndex / 256 ) ; String byte0 = String . format ( "%02x" , initIndex % 256 ) ; initiator . setInitiatorPort ( "10:00:00:00:00:00:" + byte1 + ":" + byte0 ) ; initiator . setId ( URI . create ( "init" + initIndex ++ ) ) ; initiators . add ( initiator ) ; } return initiators ; }
target:  Generates additional host initiators for an existing host.