Package de.marcely.bedwars.tools
Class Pair<K,V>
java.lang.Object
de.marcely.bedwars.tools.Pair<K,V>
- Type Parameters:
K
- Key typeV
- Value type
A convenience class to represent name-value pairs.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
getKey
Gets the key for this pair.- Returns:
- The key of this pair
-
getValue
Gets the value for this pair.- Returns:
- The value of this pair
-