<commit_before>package com.intuso.housemate.client.api.internal.object;

/**
 * @param <DATA_TYPE> the type of the value's type
 * @param <VALUE> the type of the value
 */
public interface Value<DATA_TYPE,
            TYPE extends Type<?>,
            VALUE extends Value<?, ?, ?>>
        extends ValueBase<Value.Data, DATA_TYPE, TYPE, Value.Listener<? super VALUE>, VALUE> {

    /**
     * Gets the value's type's id
     * @return the value's type's id
     */
    TYPE getType();

    /**
     * Gets the value's value
     * @return the value's value
     */
    DATA_TYPE getValue();

    /**
     *
     * Listener interface for values
     */
    interface Listener<VALUE extends Value<?, ?, ?>> extends ValueBase.Listener<VALUE> {}

    /**
     *
     * Interface to show that the implementing object has a list of values
     */
    interface Container<VALUES extends Iterable<? extends Value<?, ?, ?>>> {

        /**
         * Gets the value list
         * @return the value list
         */
        VALUES getValues();
    }

    /**<commit_msg>Removed legacy methods from internal Value interface<commit_after>package com.intuso.housemate.client.api.internal.object;

/**
 * @param <DATA_TYPE> the type of the value's type
 * @param <VALUE> the type of the value
 */
public interface Value<DATA_TYPE,
            TYPE extends Type<?>,
            VALUE extends Value<?, ?, ?>>
        extends ValueBase<Value.Data, DATA_TYPE, TYPE, Value.Listener<? super VALUE>, VALUE> {

    /**
     *
     * Listener interface for values
     */
    interface Listener<VALUE extends Value<?, ?, ?>> extends ValueBase.Listener<VALUE> {}

    /**
     *
     * Interface to show that the implementing object has a list of values
     */
    interface Container<VALUES extends Iterable<? extends Value<?, ?, ?>>> {

        /**
         * Gets the value list
         * @return the value list
         */
        VALUES getValues();
    }

    /**
{'fraction_non_alphanumeric': 0.12314007183170857, 'fraction_numerical': 0.0, 'mean_word_length': 2.277310924369748, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '3113578', 'n_tokens_mistral': 558, 'n_tokens_neox': 537, 'n_words': 172}