Class Responses
- java.lang.Object
-
- net.thexcoders.aladin_bot_backend.models.Responses
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsesadd(String str)adding a new element to the hashMap using the language entered as a parameter to the constructorResponsessetLang(String lang)
-
-
-
Method Detail
-
add
public Responses add(String str)
adding a new element to the hashMap using the language entered as a parameter to the constructor- Parameters:
str- a String representing the value to insert to the response category name- Returns:
- Responses returns the instance called to be used to call the function add once again.
-
-