<commit_before>/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.addthis.basis.kv;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

import com.addthis.basis.util.LessBytes;
import com.addthis.basis.util.LessNumbers;
import com.addthis.basis.util.LessStrings;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Class that represents a collection of key/value pairs.
 *
 * What was going on when this class was implemented?
 * It has been deprecated and is being phased out of use.
 * Consider using the <a href="http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Multimap.html">Multimap</a>
 * interface.
 */
@Deprecated
public class KVPairs implements Iterable<KVPair> {
    protected static final Logger log = LoggerFactory.getLogger(KVPairs.class);
    private static final boolean putupper = System.getProperty("kv.putupper", "1").equals("1");
    private static final boolean getupper = System.getProperty("kv.getupper", "1").equals("1");

    public static KVPairs mergeAndCopy(KVPairs base, KVPairs overrider) {<commit_msg>Use the @deprecated Javadoc tag.<commit_after>/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.addthis.basis.kv;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

import com.addthis.basis.util.LessBytes;
import com.addthis.basis.util.LessNumbers;
import com.addthis.basis.util.LessStrings;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Class that represents a collection of key/value pairs.
 *
 * What was going on when this class was implemented?
 * @deprecated Consider using the
 * <a href="http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Multimap.html">Multimap</a>
 * interface.
 */
@Deprecated
public class KVPairs implements Iterable<KVPair> {
    protected static final Logger log = LoggerFactory.getLogger(KVPairs.class);
    private static final boolean putupper = System.getProperty("kv.putupper", "1").equals("1");
    private static final boolean getupper = System.getProperty("kv.getupper", "1").equals("1");

    public static KVPairs mergeAndCopy(KVPairs base, KVPairs overrider) {
{'fraction_non_alphanumeric': 0.1011040092969204, 'fraction_numerical': 0.005810575246949448, 'mean_word_length': 4.5621970920840065, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1077825', 'n_tokens_mistral': 991, 'n_tokens_neox': 978, 'n_words': 338}