private BusGroup findBus(String name)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "findBus", name);

    // Cycle through the list of Buss.
    for (int i = 0; i < _buses.length; ++i)
      // Check if the Bus name is the one we are looking for
      if (_buses[i].getName().equals(name))
      {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "findBus", _buses[i]);

        return _buses[i];
      }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "findBus", "null");

    return null;
  }
private BusGroup findBus ( String name ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "findBus" , name ) ; for ( int i = 0 ; i < _buses . length ; ++ i ) if ( _buses [ i ] . getName ( ) . equals ( name ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "findBus" , _buses [ i ] ) ; return _buses [ i ] ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "findBus" , "null" ) ; return null ; }
Finds a Bus given its name.

@param name  The name of the Bus to find

@return The BusGroup or null if not found.