Zasadniczy wsad inicjalizacyjny.

This commit is contained in:
2026-01-05 18:17:11 +01:00
parent e7956db333
commit 3e54ae8f23
65 changed files with 10709 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package pl.wat.ms4ds.terenfunkcje.konwersja;
public enum EOSMNatural {
/**
* v="water" | v="reservoir" | v="wetland" | v="wood"
*/
WATER,
RESERVOIR,
WETLAND,
WOOD;
public static EOSMNatural getValue(String str) {
switch (str) {
case "water": return WATER;
case "reservoir": return RESERVOIR;
case "wetland": return WETLAND;
case "wood": return WOOD;
default: return null;
}
}
}