home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.util.Collections.SingletonSet;
-
- final class Collections$SingletonSet$1 implements Iterator<E> {
- private boolean hasNext;
- // $FF: synthetic field
- final Collections.SingletonSet this$0;
-
- Collections$SingletonSet$1(Collections.SingletonSet var1) {
- this.this$0 = var1;
- this.hasNext = true;
- }
-
- public boolean hasNext() {
- return this.hasNext;
- }
-
- public E next() {
- if (this.hasNext) {
- this.hasNext = false;
- return (E)SingletonSet.access$400(this.this$0);
- } else {
- throw new NoSuchElementException();
- }
- }
-
- public void remove() {
- throw new UnsupportedOperationException();
- }
- }
-