implement Entry API for SmallIntMap