code: @Override
      public ILonePair getLonePair(int idx) {
          if (idx < 0 || idx >= lonePairCount)
              throw new IndexOutOfBoundsException("Lone Pair index out of bounds: 0 <= " + idx + " < " + lonePairCount);
          return lonePairs[idx];
      }
docs: {@inheritDoc}