|
|
@ -115,9 +115,10 @@ public class RedissonSet<V> extends RedissonExpirable implements RSet<V> {
|
|
|
|
if (removeExecuted) {
|
|
|
|
if (removeExecuted) {
|
|
|
|
throw new IllegalStateException("Element been already deleted");
|
|
|
|
throw new IllegalStateException("Element been already deleted");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (iter == null) {
|
|
|
|
|
|
|
|
throw new IllegalStateException();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// lazy init iterator
|
|
|
|
|
|
|
|
// hasNext();
|
|
|
|
|
|
|
|
iter.remove();
|
|
|
|
iter.remove();
|
|
|
|
RedissonSet.this.remove(value);
|
|
|
|
RedissonSet.this.remove(value);
|
|
|
|
removeExecuted = true;
|
|
|
|
removeExecuted = true;
|
|
|
|