Class DosSectorAddress


  • public class DosSectorAddress
    extends java.lang.Object
    A Container for DOS 3.3 Sector Addresses.
    Created on Dec 13, 2017.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer sector  
      java.lang.Integer track  
    • Constructor Summary

      Constructors 
      Constructor Description
      DosSectorAddress​(int track, int sector)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • track

        public final java.lang.Integer track
      • sector

        public final java.lang.Integer sector
    • Constructor Detail

      • DosSectorAddress

        public DosSectorAddress​(int track,
                                int sector)
    • Method Detail

      • toString

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

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

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