code: public ItemState getItemState(String itemIdentifier, int state)
     {
        return index.get(new IDStateBasedKey(itemIdentifier, state));
     }
docs: Get ItemState by identifier and state.
  
  NOTE: Uses index HashMap.
  
  @param itemIdentifier
  @param state
  @return