jdk/src/share/classes/java/util/RegularEnumSet.java
changeset 8787 4b055daf8dd0
parent 7803 56bc97d69d93
child 8800 e658ae923d53
equal deleted inserted replaced
8786:50520f3f8ada 8787:4b055daf8dd0
   104         }
   104         }
   105 
   105 
   106         public void remove() {
   106         public void remove() {
   107             if (lastReturned == 0)
   107             if (lastReturned == 0)
   108                 throw new IllegalStateException();
   108                 throw new IllegalStateException();
   109             elements -= lastReturned;
   109             elements &= ~lastReturned;
   110             lastReturned = 0;
   110             lastReturned = 0;
   111         }
   111         }
   112     }
   112     }
   113 
   113 
   114     /**
   114     /**