[Minor] Added StrolchEnum.hasValue()
This commit is contained in:
parent
66121d4f0f
commit
14f6fb47b6
|
@ -68,6 +68,10 @@ public class StrolchEnum {
|
||||||
this.localeL = localeL;
|
this.localeL = localeL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasValue(String id) {
|
||||||
|
return this.values.containsKey(id);
|
||||||
|
}
|
||||||
|
|
||||||
public String getValue(String id) {
|
public String getValue(String id) {
|
||||||
return this.values.get(id);
|
return this.values.get(id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue