Package Helpers
Class YesNo
java.lang.Object
Helpers.YesNo
A class with a static method to check if a given string is "Yes" or "Y" (case-insensitive)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
YesNo
public YesNo()
-
-
Method Details
-
yesNo
Checks if a given string is "Yes" or "Y" (case-insensitive)- Parameters:
yn
- the string to be checked- Returns:
- true if the string is "Yes" or "Y" (case-insensitive), false otherwise
-