<commit_before>package org.cpic.haplotype;

import java.util.ArrayList;

import org.apache.commons.lang3.ObjectUtils;
import org.cpic.util.HaplotypeNameComparator;

public class Haplotype implements Comparable<Haplotype> {

	ArrayList <Variant> variants;
	String AlleleID;
	String CommonName;
	String FunctionStatus;
	ArrayList <String> NormalAlleles;
	ArrayList <String>  EffectAlleles;


  @Override
  public String toString() {
    return CommonName;
  }


  @Override
  public int compareTo(Haplotype o) {
    int rez = HaplotypeNameComparator.getComparator().compare(CommonName, o.CommonName);
    if (rez != 0) {
      return rez;<commit_msg>Initialize, get,set,add<commit_after>package org.cpic.haplotype;

import java.util.ArrayList;

import org.apache.commons.lang3.ObjectUtils;
import org.cpic.util.HaplotypeNameComparator;

public class Haplotype implements Comparable<Haplotype> {

	private ArrayList <Variant> Variants = new ArrayList<>();
	private String AlleleID;
	private String CommonName;
	private String FunctionStatus;
	private ArrayList <String> NormalAlleles = new ArrayList<>();
	private ArrayList <String>  EffectAlleles = new ArrayList<>();
	
	public void addVariant(Variant _Variant){
		Variants.add(_Variant);
	}
	public ArrayList<Variant> getVaraints(){
		return Variants;
	}
	public void setAlleleID(String _AlleleID){
		AlleleID = _AlleleID;
	}
	public String getAlleleID(){
		return AlleleID;
	}
	public void setCommonName(String _CommonName){
		CommonName = _CommonName;
	}
	public String getCommonName(){
		return CommonName;
	}
	public void setFunctionStatus(String _FunctionStatus){
		FunctionStatus = _FunctionStatus;
	}
	public String getFunctionStatus(){
		return FunctionStatus;
	}
	public void addNormalAlleles(String _NormalAlleles){
		NormalAlleles.add(_NormalAlleles);
	}
	public ArrayList<String> getNormalAlleles(){
		return NormalAlleles;
	}
	public void addEffectAlleles(String _EffectAlleles){
		EffectAlleles.add(_EffectAlleles);
	}
	public ArrayList<String> getEffectAlleles(){
		return EffectAlleles;
	}


  @Override
  public String toString() {
    return CommonName;
  }


  @Override
  public int compareTo(Haplotype o) {
    int rez = HaplotypeNameComparator.getComparator().compare(CommonName, o.CommonName);
    if (rez != 0) {
      return rez;
{'fraction_non_alphanumeric': 0.09292227529309596, 'fraction_numerical': 0.0017368649587494573, 'mean_word_length': 5.227027027027027, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7652133', 'n_tokens_mistral': 761, 'n_tokens_neox': 730, 'n_words': 171}