jdk/src/share/classes/java/util/JumboEnumSet.java
changeset 7803 56bc97d69d93
parent 5506 202f599c92aa
child 8787 4b055daf8dd0
equal deleted inserted replaced
7802:74f2ee2b62ba 7803:56bc97d69d93
    87      * ConcurrentModificationException}.
    87      * ConcurrentModificationException}.
    88      *
    88      *
    89      * @return an iterator over the elements contained in this set
    89      * @return an iterator over the elements contained in this set
    90      */
    90      */
    91     public Iterator<E> iterator() {
    91     public Iterator<E> iterator() {
    92         return new EnumSetIterator<E>();
    92         return new EnumSetIterator<>();
    93     }
    93     }
    94 
    94 
    95     private class EnumSetIterator<E extends Enum<E>> implements Iterator<E> {
    95     private class EnumSetIterator<E extends Enum<E>> implements Iterator<E> {
    96         /**
    96         /**
    97          * A bit vector representing the elements in the current "word"
    97          * A bit vector representing the elements in the current "word"