code: @Override
    public boolean contains(int i)
    {
      if (isEmpty() || i < 0) {
        return false;
      }
      int wordIndex = wordIndexNoCheck(i);
      return (wordIndex < firstEmptyWord)
             && ((words[wordIndex] & (1 << i)) != 0);
    }
docs: {@inheritDoc}