<commit_before>package com.wc1.felisBotus.irc;

import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;

/**
 * Class to contain information about an IRC server
 * @author Water_Cat1
 *
 */
public class IRCServer {

	private Map<String, IRCChannel> channels = new TreeMap<String, IRCChannel>(String.CASE_INSENSITIVE_ORDER);
	private String serverAddress;


	/**
	 * Create an instance using a server address and set of saved channels
	 * @param serverAddress Address used to connect to the server
	 * @param channels
	 */
	public IRCServer(String serverAddress,
			Set<IRCChannel> channels) {
		super();
		this.serverAddress = serverAddress;
		for (IRCChannel currChannel:channels){
			this.channels.put(currChannel.getName(), currChannel);
		}
	}

	/**
	 * Create an instance using just a server address
	 * @param serverAddress
	 */
	public IRCServer(String serverAddress) {
		super();
		this.serverAddress = serverAddress;
		this.channels = new HashMap<String,IRCChannel>();
	}<commit_msg>more changes related to treemap<commit_after>package com.wc1.felisBotus.irc;

import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;

/**
 * Class to contain information about an IRC server
 * @author Water_Cat1
 *
 */
public class IRCServer {

	private Map<String, IRCChannel> channels = new TreeMap<String, IRCChannel>(String.CASE_INSENSITIVE_ORDER);
	private String serverAddress;


	/**
	 * Create an instance using a server address and set of saved channels
	 * @param serverAddress Address used to connect to the server
	 * @param channels
	 */
	public IRCServer(String serverAddress,
			Set<IRCChannel> channels) {
		super();
		this.serverAddress = serverAddress;
		for (IRCChannel currChannel:channels){
			this.channels.put(currChannel.getName(), currChannel);
		}
	}

	/**
	 * Create an instance using just a server address
	 * @param serverAddress
	 */
	public IRCServer(String serverAddress) {
		super();
		this.serverAddress = serverAddress;
		this.channels = new TreeMap<String, IRCChannel>(String.CASE_INSENSITIVE_ORDER);
	}
{'fraction_non_alphanumeric': 0.09891107078039928, 'fraction_numerical': 0.0018148820326678765, 'mean_word_length': 4.6106870229007635, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4549976', 'n_tokens_mistral': 691, 'n_tokens_neox': 641, 'n_words': 187}