Code example for LinkedHashMap

Methods: containsKey, get, put

0
		 
		if (this.max_command_name_length < help_msg.getUsage().length()) {
			this.max_command_name_length = help_msg.getUsage().length();
		} 
		 
		if (!this.messages.containsKey(name)) {
			this.messages.put(name, new ArrayList<Message>());
		} 
		 
		this.messages.get(name).add(help_msg);
	} 
	 
	/** 
	 * @return The length of the command name with the greatest length.s 
	 */ 
	public int getMaxCommandNameLength() { 
		return this.max_command_name_length;
	} 
	 
	/** 
	 * Sets the global help message that is printed before the command list