<commit_before>import cloud.Server;

import cloud.Software;
import org.mwg.Callback;
import org.mwg.GraphBuilder;
import cloud.Cloud;
import org.mwg.Node;

public class HelloWorld {

    public static void main(String[] args) {

        sampleModel model = new sampleModel(new GraphBuilder().withOffHeapMemory());
        model.graph().connect(result -> {
            Cloud cloud = model.newCloud(0, 0);
            Server server = model.newServer(0, 0);
            server.setName("Hello");
            System.out.println(server.getName());
            System.out.println(server);

            cloud.addToServers(server);
            System.out.println(cloud);

            Server[] servers = cloud.getServers();
            System.out.println(servers);
            System.out.println(servers[0]);

            Software soft0 = model.newSoftware(0, 0);
            soft0.setName("Hello");
            soft0.setLoad(42.0);

            soft0.jump(10, new Callback<Node>() {
                @Override
                public void on(Node soft0_t10) {
                    ((Software)soft0_t10).setLoad(50.0);
                    System.out.println(soft0_t10);
                }
            });

            System.out.println(soft0.getLoad());


            model.graph().findAll(0,0,"clouds",cloudsResult -> {
                System.out.println(cloudsResult[0]);
            });


        });


    }

}<commit_msg>test the find by Query generic now go for the type generated one...<commit_after>import cloud.Server;

import cloud.Software;
import org.mwg.Callback;
import org.mwg.GraphBuilder;
import cloud.Cloud;
import org.mwg.Node;

public class HelloWorld {

    public static void main(String[] args) {

        sampleModel model = new sampleModel(new GraphBuilder().withOffHeapMemory());
        model.graph().connect(result -> {
            Cloud cloud = model.newCloud(0, 0);
            Server server = model.newServer(0, 0);
            server.setName("Hello");
            System.out.println(server.getName());
            System.out.println(server);

            cloud.addToServers(server);
            System.out.println(cloud);

            Server[] servers = cloud.getServers();
            System.out.println(servers);
            System.out.println(servers[0]);

            Software soft0 = model.newSoftware(0, 0);
            soft0.setName("Hello");
            soft0.setLoad(42.0);

            soft0.jump(10, new Callback<Node>() {
                @Override
                public void on(Node soft0_t10) {
                    ((Software)soft0_t10).setLoad(50.0);
                    System.out.println(soft0_t10);
                }
            });

            System.out.println(soft0.getLoad());


            model.graph().findAll(0,0,"clouds",cloudsResult -> {
                System.out.println(cloudsResult[0]);
            });
            model.graph().find(0,0,"clouds","name=Hello",cloudsResult -> {
                System.out.println(cloudsResult[0]);
            });


        });


    }

}
{'fraction_non_alphanumeric': 0.13095238095238096, 'fraction_numerical': 0.022156084656084655, 'mean_word_length': 1.8645833333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '507719', 'n_tokens_mistral': 900, 'n_tokens_neox': 833, 'n_words': 140}