• java.lang.Object
    • com.here.sdk.core.IntegerRange

  • public final class IntegerRange
    extends java.lang.Object

    An integer range [min, max] with inclusive minimum and maximum value.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer max
      Maximum of the range.
      int min
      Minimum of the range.
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegerRange​(int min)
      Creates a new instance.
    • 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

      • min

        public int min

        Minimum of the range.

      • max

        @Nullable
        public java.lang.Integer max

        Maximum of the range. If not set, maximum is unbounded.

    • Constructor Detail

      • IntegerRange

        public IntegerRange​(int min)

        Creates a new instance.

        Parameters:
        min -

        Minimum of the range.

    • Method Detail

      • equals

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

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