<commit_before>package stsc.general.statistic;

import java.util.List;
import java.util.Optional;

import stsc.general.strategy.TradingStrategy;

public interface StrategySelector {

	public Optional<TradingStrategy> addStrategy(final TradingStrategy strategy);

	public void removeStrategy(TradingStrategy strategy);

	public List<TradingStrategy> getStrategies();

	int size();
}<commit_msg>#3 added javadocs for StrategySelector<commit_after>package stsc.general.statistic;

import java.util.List;
import java.util.Optional;

import stsc.general.strategy.TradingStrategy;

/**
 * {@link StrategySelector} interface is an interface for controlling
 * collections of {@link TradingStrategy}.<br/>
 * Common interface to select strategies from different {@link TradingStrategy}
 * searchers. Be careful and implement multi-thread protected Strategy
 * Selectors.
 */
public interface StrategySelector {

	public Optional<TradingStrategy> addStrategy(final TradingStrategy strategy);

	public void removeStrategy(final TradingStrategy strategy);

	public List<TradingStrategy> getStrategies();

	int size();
}
{'fraction_non_alphanumeric': 0.08574007220216606, 'fraction_numerical': 0.0009025270758122744, 'mean_word_length': 6.493243243243243, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '4552871', 'n_tokens_mistral': 303, 'n_tokens_neox': 282, 'n_words': 85}