Class StreamingQcow2Writer.Range<T extends Comparable<? super T>>

java.lang.Object
com.morpheusdata.core.util.image.StreamingQcow2Writer.Range<T>
Type Parameters:
T - the type of the range bounds, must be comparable
Enclosing class:
StreamingQcow2Writer

public static class StreamingQcow2Writer.Range<T extends Comparable<? super T>> extends Object
Represents a range with a start and end value. Used to define byte ranges that contain actual data in the virtual disk.
  • Constructor Details

    • Range

      public Range(T start, T end)
      Constructs a new Range with the specified start and end values.
      Parameters:
      start - the start value of the range (inclusive)
      end - the end value of the range (exclusive)
  • Method Details

    • getStart

      public T getStart()
      Returns the start value of this range.
      Returns:
      the start value
    • getEnd

      public T getEnd()
      Returns the end value of this range.
      Returns:
      the end value