All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.core.data.MapEntry Maven / Gradle / Ivy

Go to download

This Java API provides support for application utilities (application configuration, data encryption, debugger, text processing, and more).

The newest version!
package nyla.solutions.core.data;

import java.util.Map;

public class MapEntry implements Map.Entry
{

	public MapEntry(K key, V value)
	{
		super();
		this.key = key;
		this.value = value;
	}//------------------------------------------------
	
	/**
	 * @return the key
	 */
	public K getKey()
	{
		return key;
	}
	/**
	 * @return the value
	 */
	public V getValue()
	{
		return value;
	}
	
	/**
	 * @param key the key to set
	 */
	public void setKey(K key)
	{
		this.key = key;
	}

	/**
	 * @param value the value to set
	 * @return the set value
	 */
	public V setValue(V value)
	{
		this.value = value;
		
		return this.value;
	}

	private  K key;
	private  V value;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy