package com.redhat.ceylon.compiler.java.test.expression.comprehensions;

final class isCond_ {
    
    private isCond_() {
    }
    
    static void isCond() {
        final .ceylon.language.Sequence seq = (.ceylon.language.Sequence<? extends .java.lang.Object>).ceylon.language.Tuple.instance(.com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor.union(.ceylon.language.Integer.$TypeDescriptor$, .ceylon.language.String.$TypeDescriptor$), new .java.lang.Object[]{
                .ceylon.language.Integer.instance(1L),
                .ceylon.language.String.instance("2"),
                .ceylon.language.Integer.instance(3L),
                .ceylon.language.String.instance("4"),
                .ceylon.language.Integer.instance(5L)});
        .ceylon.language.print_.print(new .com.redhat.ceylon.compiler.java.language.AbstractIterable<.ceylon.language.Integer, .java.lang.Object>(.ceylon.language.Integer.$TypeDescriptor$, .ceylon.language.Null.$TypeDescriptor$){
            
            public final .ceylon.language.Iterator<.ceylon.language.Integer> iterator() {
                return new .com.redhat.ceylon.compiler.java.language.AbstractIterator<.ceylon.language.Integer>(.ceylon.language.Integer.$TypeDescriptor$){
                    {
                        $iterator$0 = seq.iterator();
                    }
                    private final .ceylon.language.Iterator $iterator$0;
                    private .java.lang.Object x;
                    private boolean x$exhausted$;
                    
                    private final boolean x() {
                        final .java.lang.Object $ceylontmp$item$0 = $iterator$0.next();
                        x$exhausted$ = $ceylontmp$item$0 == .ceylon.language.finished_.get_();
                        if (x$exhausted$) {
                            return false;
                        } else {
                            x = $ceylontmp$item$0;
                            return true;
                        }
                    }
                    private long x$2;
                    
                    private final boolean $next$1() {
                        ifcomp_1: while (true) {
                            if (!this.x()) break ifcomp_1;
                            final .java.lang.Object x = this.x;
                            .java.lang.Object x$1 = null;
                            if ((x$1 = x) instanceof .ceylon.language.Integer) {
                                x$2 = ((.ceylon.language.Integer)x$1).longValue();
                                break ifcomp_1;
                            }
                        }
                        return !x$exhausted$;
                    }
                    
                    public final .java.lang.Object next() {
                        if (this.$next$1()) {
                            final long x$2 = this.x$2;
                            final .java.lang.Object x = this.x;
                            return .ceylon.language.Integer.instance(x$2 * 2L);
                        } else return .ceylon.language.finished_.get_();
                    }
                };
            }
        });
    }
}