Interface ConcurrentLinkedDeque.RemovalReportingIterator<E>

    • Method Detail

      • reportingRemove

        boolean reportingRemove()
        Removes from the underlying collection the last element returned by this iterator and reports whether the current element was removed by the call. This method can be called only once per call to
        true if the element was successfully removed by this call, false if the element had already been removed by a concurrent removal
        IllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next method