code: private SegmentMeta findSegmentMeta(int size)
    {
      for (SegmentMeta segmentMeta : this._segmentMeta) {
        if (segmentMeta.size() == size) {
          return segmentMeta;
        }
      }
      
      throw new IllegalStateException(L.l("{0} is an invalid segment size", size));
    }
docs: Finds the segment group for a given size.