Package com.treescrub.spedran.data
Class Names
- java.lang.Object
-
- com.treescrub.spedran.data.Names
-
public class Names extends Object
Contains international, Japanese, and Twitch names.
This class is immutable and thread-safe.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInternationalName()Gets the international name for this item.Optional<String>getJapaneseName()Gets the Japanese name for this item.Optional<String>getTwitchName()Gets the Twitch (as in the streaming site) name for this item.StringtoString()
-
-
-
Method Detail
-
getInternationalName
public String getInternationalName()
Gets the international name for this item.- Returns:
- international name
-
getJapaneseName
public Optional<String> getJapaneseName()
Gets the Japanese name for this item.- Returns:
- an
Optionalwith the Japanese name, or empty if no Japanese name.
-
getTwitchName
public Optional<String> getTwitchName()
Gets the Twitch (as in the streaming site) name for this item.- Returns:
- an
Optionalwith the Twitch name, or empty if no Twitch name.
-
-