- java.lang.Object
-
- org.mal_lang.langspec.Meta
-
public final class Meta extends Object
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getEntries()Returns all entries in thisMetaobject.StringgetEntry(String key)Returns the value of the entry with the keykeyin thisMetaobject.booleanhasEntry(String key)Returns whetherkeyis the key of an entry in thisMetaobject.
-
-
-
Method Detail
-
hasEntry
public boolean hasEntry(String key)
Returns whetherkeyis the key of an entry in thisMetaobject.- Parameters:
key- the key of the entry- Returns:
- whether
keyis the key of an entry in thisMetaobject - Throws:
NullPointerException- ifkeyisnull- Since:
- 1.0.0
-
getEntry
public String getEntry(String key)
Returns the value of the entry with the keykeyin thisMetaobject.- Parameters:
key- the key of the entry- Returns:
- the value of the entry with the key
keyin thisMetaobject - Throws:
NullPointerException- ifkeyisnullIllegalArgumentException- ifkeyis not the key of an entry in thisMetaobject- Since:
- 1.0.0
-
-