class_docstr: Integer type bounded from below/above.
class_docstr_tok: ["Integer","type","bounded","from","below\/above","."]
docstr: Create a BoundInt object.
  
  The type will match any integer that is within the specified bounds (inclusively). Thus, ``BoundInt(0, 100)``
  matches any integer in the range from 0 to 100 (including 100). Also ``BoundInt(1)`` is a positive integer,
  and ``BoundInt(None, -1)`` is a negative integer.
  
  :param lb: lower bound (can be None or int)
  :param ub: upper bound (can be None or int)
docstr_tok: ["Create","a","BoundInt","object",".","The","type","will","match","any","integer","that","is","within","the","specified","bounds","(","inclusively",")",".","Thus",",","``","BoundInt","(","0",",","100",")","``","matches","any","integer","in","the","range","from","0","to","100","(","including","100",")",".","Also","``","BoundInt","(","1",")","``","is","a","positive","integer",",","and","``","BoundInt","(","None",",","-1",")","``","is","a","negative","integer",".",":","param","lb",":","lower","bound","(","can","be","None","or","int",")",":","param","ub",":","upper","bound","(","can","be","None","or","int",")"]
code: def __init__(self, lb=None, ub=None):
      """
      Create a BoundInt object.
  
      The type will match any integer that is within the specified bounds (inclusively). Thus, ``BoundInt(0, 100)``
      matches any integer in the range from 0 to 100 (including 100). Also ``BoundInt(1)`` is a positive integer,
      and ``BoundInt(None, -1)`` is a negative integer.
  
      :param lb: lower bound (can be None or int)
      :param ub: upper bound (can be None or int)
      """
      self._lower_bound = lb
      self._upper_bound = ub
  
imports: from h2o.utils.compatibility import *
  import importlib
  import io
  import re
  import sys
  import tokenize
  from types import BuiltinFunctionType, FunctionType
  from h2o.exceptions import H2OTypeError, H2OValueError
label_desc: Use image node_id 1 to create a new BoundInt object from inherited base classes: MagicType with example: obj = BoundInt(lb, ub)