<commit_before>package org.apache.commons.javaflow.examples.lambdas;

import org.apache.commons.javaflow.api.Continuation;
import org.apache.commons.javaflow.extras.Continuations;

// We need to implement mixin to inherit at least one @continuable method
// In this case -- marker method Continuations.__()
// This is necessary to instrument desugared lambda bodies (in this class)
// Plus mixin provides convinient methods to create/start continuation
// out of Runnable lambda
public class LambdasExampleMinimal {

    public static void main(final String[] argv) throws Exception {

        Continuation cc = Continuations.start(() -> {
            for (int i = 1; i <= 5; i++) {
                System.out.println("Exe before suspend");
                Continuation.suspend(i);
                System.out.println("Exe after suspend");	        
            }
        });

        for (; null != cc; cc = cc.resume()) {
            System.out.println("Interrupted " + cc.value());
        }

        System.out.println("===");
    }


}<commit_msg>Removed obsolete comments from lambdas example<commit_after>package org.apache.commons.javaflow.examples.lambdas;

import org.apache.commons.javaflow.api.Continuation;
import org.apache.commons.javaflow.extras.Continuations;

public class LambdasExampleMinimal {

    public static void main(final String[] argv) throws Exception {

        Continuation cc = Continuations.start(() -> {
            for (int i = 1; i <= 5; i++) {
                System.out.println("Exe before suspend");
                Continuation.suspend(i);
                System.out.println("Exe after suspend");	        
            }
        });

        for (; null != cc; cc = cc.resume()) {
            System.out.println("Interrupted " + cc.value());
        }

        System.out.println("===");
    }


}
{'fraction_non_alphanumeric': 0.12152588555858311, 'fraction_numerical': 0.0021798365122615805, 'mean_word_length': 2.3937153419593344, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5137446', 'n_tokens_mistral': 515, 'n_tokens_neox': 497, 'n_words': 130}