code: public synchronized void remove()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "remove");
  
      if(removable != null)
      {
        index.remove(removable);
      }
      else
      {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "remove", "IllegalStateException");
        throw new IllegalStateException(
          nls.getFormattedMessage(
            "NO_ELEMENTS_ERROR_CWSIP0602",
            null,
            null));
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "remove");
    }
docs: /* (non-Javadoc)
  @see java.util.Iterator#remove()