Class B2PartSpec

  • All Implemented Interfaces:
    java.lang.Comparable<B2PartSpec>

    public class B2PartSpec
    extends java.lang.Object
    implements java.lang.Comparable<B2PartSpec>
    A B2PartSpec represents part of a large file. It has the partNumber and the offset & length of the part in the file.
    • Method Detail

      • getPartNumber

        public int getPartNumber()
      • getStart

        public long getStart()
      • getLength

        public long getLength()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(B2PartSpec o)
        Specified by:
        compareTo in interface java.lang.Comparable<B2PartSpec>