mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2025-07-06 15:26:41 +00:00
23 lines
331 B
Java
23 lines
331 B
Java
package me.totalfreedom.utils;
|
|
|
|
public class Pair<K, V>
|
|
{
|
|
private final K key;
|
|
private final V value;
|
|
|
|
public Pair(final K key, final V value) {
|
|
this.key = key;
|
|
this.value = value;
|
|
}
|
|
|
|
public K getKey()
|
|
{
|
|
return key;
|
|
}
|
|
|
|
public V getValue()
|
|
{
|
|
return value;
|
|
}
|
|
}
|