<commit_before>package org.glob3.mobile.generated; 
//
//  CompositeTileImageContribution.cpp
//  G3MiOSSDK
//
//  Created by <NAME> on 4/26/14.
//
//

//
//  CompositeTileImageContribution.hpp
//  G3MiOSSDK
//
//  Created by <NAME> on 4/26/14.
//
//




public class CompositeTileImageContribution extends TileImageContribution
{

  public static class ChildContribution
  {
    public final int _childIndex;
    public final TileImageContribution _contribution;

    public ChildContribution(int childIndex, TileImageContribution contribution)
    {
       _childIndex = childIndex;
       _contribution = contribution;
    }

    public void dispose()
    {
      TileImageContribution.deleteContribution(_contribution);
    }
  }


  public static TileImageContribution create(java.util.ArrayList<ChildContribution> contributions)
  {
    final int contributionsSize = contributions.size();
    if (contributionsSize == 0)
    {
      return TileImageContribution.none();
    }
    else if (contributionsSize == 1)
    {
      final ChildContribution singleContribution = contributions.get(0);
      final TileImageContribution result = singleContribution._contribution;
      if (singleContribution != null)
         singleContribution.dispose();
      return result;
    }
    else
    {
      return new CompositeTileImageContribution(contributions);
    }
  }


  private final java.util.ArrayList<ChildContribution> _contributions = new java.util.ArrayList<ChildContribution>();

  private CompositeTileImageContribution(java.util.ArrayList<ChildContribution> contributions)
  {
     super(false, 1);
     _contributions = contributions;
  }

  public void dispose()
  {
    final int size = _contributions.size();
    for (int i = 0; i < size; i++)
    {
      if (_contributions.get(i) != null)
         _contributions.get(i).dispose();
    }
  }

}<commit_msg>Generated<commit_after>package org.glob3.mobile.generated; 
//
//  CompositeTileImageContribution.cpp
//  G3MiOSSDK
//
//  Created by <NAME> on 4/26/14.
//
//

//
//  CompositeTileImageContribution.hpp
//  G3MiOSSDK
//
//  Created by <NAME> on 4/26/14.
//
//




public class CompositeTileImageContribution extends TileImageContribution
{

  public static class ChildContribution
  {
    public final int _childIndex;
    public final TileImageContribution _contribution;

    public ChildContribution(int childIndex, TileImageContribution contribution)
    {
       _childIndex = childIndex;
       _contribution = contribution;
    }

    public void dispose()
    {
      TileImageContribution.deleteContribution(_contribution);
    }
  }


  public static TileImageContribution create(java.util.ArrayList<ChildContribution> contributions)
  {
    final int contributionsSize = contributions.size();
    if (contributionsSize == 0)
    {
      return TileImageContribution.none();
    }
    else if (contributionsSize == 1)
    {
      final ChildContribution singleContribution = contributions.get(0);
      final TileImageContribution result = singleContribution._contribution;
      if (singleContribution != null)
         singleContribution.dispose();
      return result;
    }
    else
    {
      return new CompositeTileImageContribution(contributions);
    }
  }


  private final java.util.ArrayList<ChildContribution> _contributions;

  private CompositeTileImageContribution(java.util.ArrayList<ChildContribution> contributions)
  {
     super(false, 1);
     _contributions = contributions;
  }

  public void dispose()
  {
    final int size = _contributions.size();
    for (int i = 0; i < size; i++)
    {
      _contributions[i] = null;
    }
  }

}
{'fraction_non_alphanumeric': 0.09417902251510159, 'fraction_numerical': 0.009884678747940691, 'mean_word_length': 3.177752293577982, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 14, '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': '3637865', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1046, 'n_words': 222}