Class DocRouter.Range

    • Field Detail

      • min

        public int min
      • max

        public int max
    • Constructor Detail

      • Range

        public Range​(int min,
                     int max)
    • Method Detail

      • min

        public int min()
        Description copied from interface: HashRange
        minimum value (inclusive)
        Specified by:
        min in interface HashRange
      • max

        public int max()
        Description copied from interface: HashRange
        maximum value (inclusive)
        Specified by:
        max in interface HashRange
      • includes

        public boolean includes​(int hash)
        Description copied from interface: HashRange
        Check if a given hash falls in this range
        Specified by:
        includes in interface HashRange
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • write

        public void write​(org.noggit.JSONWriter writer)
        Specified by:
        write in interface org.noggit.JSONWriter.Writable