<commit_before>package org.grammaticalframework.reader;
import java.util.HashSet;
public class ProductionSet {
private int id;
private Production[] prods;

public ProductionSet(int _id, Production[] _prods)
{id = _id;
prods = _prods;
}

    public int length() {
        return this.prods.length;
    }
    
    public Production[] productions() {
        return this.prods;
    }

public String toString()
{String ss = "Id : "+id+" , Productions : [";
for(int i=0; i<prods.length; i++)
ss+=(" "+prods[i].toString());
ss+="]";
return ss;
}

public int getId() {return id; }
public Production[] getProductions() {return prods;}

public HashSet<Production> getSetOfProductions() 
{HashSet<Production> hs = new HashSet<Production>();
for(int i=0; i<prods.length; i++)
	hs.add(prods[i]);
return hs;
}
}<commit_msg>[Style] Layout of ProductionSet<commit_after>package org.grammaticalframework.reader;
import java.util.HashSet;

public class ProductionSet {
    private int id;
    private Production[] prods;

    public ProductionSet(int _id, Production[] _prods) {
        id = _id;
        prods = _prods;
    }

    public int length() {
        return this.prods.length;
    }
    
    public Production[] productions() {
        return this.prods;
    }

    public String toString() {
        String ss = "Id : "+id+" , Productions : [";
        for(int i=0; i<prods.length; i++)
            ss+=(" "+prods[i].toString());
        ss+="]";
        return ss;
    }

    public int getId() {return id; }
    public Production[] getProductions() {return prods;}

    public HashSet<Production> getSetOfProductions() {
        HashSet<Production> hs = new HashSet<Production>();
        for(int i=0; i<prods.length; i++)
            hs.add(prods[i]);
        return hs;
    }
}
{'fraction_non_alphanumeric': 0.14527027027027026, 'fraction_numerical': 0.0022522522522522522, 'mean_word_length': 3.113425925925926, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, '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': '2369520', 'n_tokens_mistral': 590, 'n_tokens_neox': 572, 'n_words': 149}