fix(display): use array instead of hashmap

This commit is contained in:
Martin Eyben 2024-12-18 21:09:24 +01:00
parent 398e197aa4
commit 3ae4e63a71

View File

@ -0,0 +1,26 @@
package eirb.pg203.weather.utils;
public class Pair<K, V>{
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;
}
}