Interface PageWithPositionEqualsAndHash

All Known Implementing Classes:
SimplePageWithPositionEqualsAndHash

public interface PageWithPositionEqualsAndHash
Equals and hash evaluated at the specified page positions. Implementations need to be hash table friendly.

Note: this usage is likely to be megamorphic, so use at your own risk!

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Page left, int leftPosition, Page right, int rightPosition)
     
    long
    hashCode(Page page, int position)
     
  • Method Details

    • equals

      boolean equals(Page left, int leftPosition, Page right, int rightPosition)
    • hashCode

      long hashCode(Page page, int position)