Пример #1
0
 @Override
 public void remove() {
   if (!canRemove) {
     throw new IllegalStateException();
   } else {
     canRemove = false;
     list.remove(previous);
   }
 }
Пример #2
0
 RelationListIterator(RelationList<?, X> list) {
   this.list = list;
   this.iter = list.elementSet().iterator();
 }