code: @Override
    public int indexOf(int e)
    {
      if (e < 0) {
        throw new IllegalArgumentException("positive integer expected: " + Integer.toString(e));
      }
      return Arrays.binarySearch(toArray(), e);
    }
docs: {@inheritDoc}