<commit_before>package io.taciturn;

import java.util.Collection;
import java.util.Optional;

import io.taciturn.utility.ArrayUtility;
import io.taciturn.utility.BooleanUtility;
import io.taciturn.utility.ByteUtility;
import io.taciturn.utility.CharacterUtility;
import io.taciturn.utility.CollectionUtility;
import io.taciturn.utility.DoubleUtility;
import io.taciturn.utility.FloatUtility;
import io.taciturn.utility.IntegerUtility;
import io.taciturn.utility.LongUtility;
import io.taciturn.utility.NonIterableUtility;
import io.taciturn.utility.ObjectUtility;
import io.taciturn.utility.ShortUtility;
import io.taciturn.utility.StringUtility;

public class Utility {

    public static <Item> NonIterableUtility<Item> $(Item object) {
        return new NonIterableUtility<>(object);
    }

    public static <Item> ArrayUtility<Item> $(Item[] object) {
        return new ArrayUtility<>(object);
    }

    public static <Item> CollectionUtility<Collection<Item>, Item> $(Collection<Item> object) {
        return new CollectionUtility<>(object);
    }

    public static BooleanUtility $(Boolean object) {
        return new BooleanUtility(object);
    }

    public static CharacterUtility $(Character object) {
        return new CharacterUtility(object);
    }

    public static ByteUtility $(Byte object) {
        return new ByteUtility(object);
    }

    public static DoubleUtility $(Double object) {
        return new DoubleUtility(object);
    }

    public static FloatUtility $(Float object) {
        return new FloatUtility(object);
    }

    public static IntegerUtility $(Integer object) {
        return new IntegerUtility(object);
    }

    public static LongUtility $(Long object) {
        return new LongUtility(object);
    }

    public static ShortUtility $(Short object) {
        return new ShortUtility(object);
    }

    public static StringUtility $(String object) {
        return new StringUtility(object);
    }

    @SafeVarargs
    public static <Item> ArrayUtility<Item> $(Item first, Item... rest) {
        return new ArrayUtility<>(first, rest);<commit_msg>Added StreamUtility to Utility<commit_after>package io.taciturn;

import java.util.Collection;
import java.util.Optional;
import java.util.stream.Stream;

import io.taciturn.utility.ArrayUtility;
import io.taciturn.utility.BooleanUtility;
import io.taciturn.utility.ByteUtility;
import io.taciturn.utility.CharacterUtility;
import io.taciturn.utility.CollectionUtility;
import io.taciturn.utility.DoubleUtility;
import io.taciturn.utility.FloatUtility;
import io.taciturn.utility.IntegerUtility;
import io.taciturn.utility.LongUtility;
import io.taciturn.utility.NonIterableUtility;
import io.taciturn.utility.ObjectUtility;
import io.taciturn.utility.ShortUtility;
import io.taciturn.utility.StreamUtility;
import io.taciturn.utility.StringUtility;

public class Utility {

    public static <Item> NonIterableUtility<Item> $(Item object) {
        return new NonIterableUtility<>(object);
    }

    public static <Item> ArrayUtility<Item> $(Item[] object) {
        return new ArrayUtility<>(object);
    }

    public static <Item> CollectionUtility<Collection<Item>, Item> $(Collection<Item> object) {
        return new CollectionUtility<>(object);
    }

    public static BooleanUtility $(Boolean object) {
        return new BooleanUtility(object);
    }

    public static CharacterUtility $(Character object) {
        return new CharacterUtility(object);
    }

    public static ByteUtility $(Byte object) {
        return new ByteUtility(object);
    }

    public static DoubleUtility $(Double object) {
        return new DoubleUtility(object);
    }

    public static FloatUtility $(Float object) {
        return new FloatUtility(object);
    }

    public static IntegerUtility $(Integer object) {
        return new IntegerUtility(object);
    }

    public static LongUtility $(Long object) {
        return new LongUtility(object);
    }

    public static ShortUtility $(Short object) {
        return new ShortUtility(object);
    }

    public static <Item> StreamUtility<Stream<Item>, Item> $(Stream<Item> object) {
        return new StreamUtility<>(object);
    }

    public static StringUtility $(String object) {
        return new StringUtility(object);
    }

    @SafeVarargs
    public static <Item> ArrayUtility<Item> $(Item first, Item... rest) {
        return new ArrayUtility<>(first, rest);
{'fraction_non_alphanumeric': 0.09801712483100496, 'fraction_numerical': 0.0, 'mean_word_length': 3.7679914070891516, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, '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': '6873416', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1318, 'n_words': 312}