Class DBPageID

  • public class DBPageID
    extends java.lang.Object
    A class representing the unique identity of a DBPage, used as a key for tracking pages in maps.
    • Field Summary

      Modifier and Type Field Description
      private file  
      private int pageNo  
    • Constructor Summary

      Constructor Description
      DBPageID​(DBPage dbPage)  
      DBPageID​( file, int pageNo)  
    • Method Summary

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

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

      • file

        private file
      • pageNo

        private int pageNo
    • Constructor Detail

      • DBPageID

        public DBPageID​( file,
                        int pageNo)
      • DBPageID

        public DBPageID​(DBPage dbPage)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

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