<commit_before>package com.valkryst.VTerminal.revamp.component;

import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.misc.ImageCache;
import lombok.NonNull;

import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class TileGrid {
    /** An empty array of tiles. */
    private final static AsciiCharacter[] EMPTY_ARRAY = new AsciiCharacter[0];

    /** The position of the grid within it's parent. */
    private final Point position;

    /** A grid of tiles. */
    private final AsciiCharacter[][] tiles;
<commit_msg>Sets class to final, so it cannot be subclassed.<commit_after>package com.valkryst.VTerminal.revamp.component;

import com.valkryst.VTerminal.AsciiCharacter;
import com.valkryst.VTerminal.misc.ImageCache;
import lombok.NonNull;

import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Point;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public final class TileGrid {
    /** An empty array of tiles. */
    private final static AsciiCharacter[] EMPTY_ARRAY = new AsciiCharacter[0];

    /** The position of the grid within it's parent. */
    private final Point position;

    /** A grid of tiles. */
    private final AsciiCharacter[][] tiles;

{'fraction_non_alphanumeric': 0.10408921933085502, 'fraction_numerical': 0.002973977695167286, 'mean_word_length': 4.157088122605364, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4150874', 'n_tokens_mistral': 427, 'n_tokens_neox': 415, 'n_words': 120}