code: public boolean get(int index) throws ArrayIndexOutOfBoundsException {
          if (index < 0 || index >= length) {
              throw new ArrayIndexOutOfBoundsException(Integer.toString(index));
          }
  
          return (repn[subscript(index)] & position(index)) != 0;
      }
docs: Returns the indexed bit in this BitArray.