diff --git a/src/main/java/eirb/pg203/weather/utils/Pair.java b/src/main/java/eirb/pg203/weather/utils/Pair.java new file mode 100644 index 0000000..7b69986 --- /dev/null +++ b/src/main/java/eirb/pg203/weather/utils/Pair.java @@ -0,0 +1,26 @@ +package eirb.pg203.weather.utils; + +public class Pair{ + private K key; + private V value; + public Pair(K key, V value) { + this.key = key; + this.value = value; + } + + public V getValue() { + return value; + } + + public K getKey() { + return key; + } + + public void setValue(V value) { + this.value = value; + } + + public void setKey(K key) { + this.key = key; + } +}