code: @NotNull
      public Iterable<byte[]> getSegments(byte segmentType)
      {
          final List<byte[]> segmentList = getSegmentList(segmentType);
          return segmentList == null ? new ArrayList<byte[]>() : segmentList;
      }
docs: Returns all instances of a given JPEG segment.  If no instances exist, an empty sequence is returned.
  
  @param segmentType a number which identifies the type of JPEG segment being queried
  @return zero or more byte arrays, each holding the data of a JPEG segment