<commit_before>/**
 * An example simulation to show how something
 * like this might work one day...
 *
 * @author <NAME> <<EMAIL>>
 */

#pragma once

#include "src/common.h"

/**
 * A Linked List Node
 */
template <typename T>
class LLNode {
friend class LinkedList<T>;

private:
	inline int length(int curr) {
		if (this->next) {
			curr = curr + this->next->length();
		}
		return curr + 1;
	}

protected:
	LLNode<T> *next;
	LLNode<T> *prev;

public:
	T data;
	
	~LLNode();
	
	/**
	 * Get next element
	 */
	inline LLNode<T> *getNext() {<commit_msg>Add LLNode constructor<commit_after>/**
 * An example simulation to show how something
 * like this might work one day...
 *
 * @author <NAME> <<EMAIL>>
 */

#pragma once

#include "src/common.h"

/**
 * A Linked List Node
 */
template <typename T>
class LLNode {
friend class LinkedList<T>;

private:
	inline int length(int curr) {
		if (this->next) {
			curr = curr + this->next->length();
		}
		return curr + 1;
	}

protected:
	LLNode<T> *next;
	LLNode<T> *prev;

public:
	T data;
	
	LLNode(T data) { this->data = data; }
	~LLNode();
	
	/**
	 * Get next element
	 */
	inline LLNode<T> *getNext() {
{'fraction_non_alphanumeric': 0.16145833333333334, 'fraction_numerical': 0.001736111111111111, 'mean_word_length': 3.177536231884058, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 26, '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': '761279', 'n_tokens_mistral': 440, 'n_tokens_neox': 421, 'n_words': 128}