code: public StreamSet getStreamSet(SIBUuid12 streamID, boolean create)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "getStreamSet", new Object[] { streamID, Boolean.valueOf(create) });
  
          StreamSet streamSet = null;
          synchronized (streamSets)
          {
              if (shellStreamSetOnly)
              {
                  // We have yet to fully initialise the StreamSet managed by this object. Start by
                  // retrieving the shell StreamSet object
                  streamSet = streamSets.get(null);
                  // remove the shell from the Collection
                  streamSets.remove(null);
                  shellStreamSetOnly = false;
                  // Set the streamID into the StreamSet
                  if (streamSet != null)
                  {
                      // Set the StreamId into the shell StreamSet
                      streamSet.setStreamID(streamID);
                      // Store the StreamSet in the Collection keyed on StreamId.
                      streamSets.put(streamID, streamSet);
                  }
              }
              else
              {
                  streamSet = streamSets.get(streamID);
              }
  
              if ((streamSet == null) && create)
              {
                  streamSet = new StreamSet(streamID,
                                  targetMEUuid,
                                  0,
                                  isLink ? StreamSet.Type.LINK_INTERNAL_OUTPUT : StreamSet.Type.INTERNAL_OUTPUT);
                  streamSets.put(streamID, streamSet);
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "getStreamSet", streamSet);
          return streamSet;
      }
docs: Get a StreamSet for a given streamID. Optionally create the StreamSet
  if it doesn't already exit.
  
  @param streamID The streamID to map to a StreamSet.
  @param create If TRUE then create the StreamSet if it doesn't already exit.
  @return An instance of StreamSet