'Args:
objlist(list): list of objects'

def __init__(self, objlist):

    self.idx2obj = dict(enumerate(objlist))
    self.obj2idx = {v: k for (k, v) in six.iteritems(self.idx2obj)}
    log_deprecated('LookUpTable', "It's    not    related    to    the    library    and    I'd    be    surprised    if    you're    using    it..")
