docs: public Iterable<JpegSegmentType> getSegmentTypes()
      {
          Set<JpegSegmentType> segmentTypes = new HashSet<JpegSegmentType>();
  
          for (Byte segmentTypeByte : _segmentDataMap.keySet())
          {
              JpegSegmentType segmentType = JpegSegmentType.fromByte(segmentTypeByte);
              if (segmentType == null) {
                  throw new IllegalStateException("Should not have a segmentTypeByte that is not in the enum: " + Integer.toHexString(segmentTypeByte));
              }
              segmentTypes.add(segmentType);
          }
  
          return segmentTypes;
      }