code: def delete(self, index=None):
          
          if index is None:
              javabridge.call(self.jobject, "delete", "()V")
          else:
              javabridge.call(self.jobject, "delete", "(I)V", index)
docs: Removes either the specified Instance or all Instance objects.
  
          :param index: the 0-based index of the instance to remove
          :type index: int