public class Word
extends java.lang.Object
History:
Constructor and Description |
---|
Word() |
Modifier and Type | Method and Description |
---|---|
static boolean |
HasPunctuation(java.lang.String inWord)
Check if the given word contains punctuations.
|
static boolean |
IsCatelogNumber(java.lang.String inWord)
Check if the given word is a catelog number.
|
static boolean |
IsDate(java.lang.String inWord)
Check if the given word is a date.
|
static boolean |
IsFloat(java.lang.String inWord)
Check if the given word is a float.
|
static void |
main(java.lang.String[] args)
Test driver for this class
|
public static boolean IsCatelogNumber(java.lang.String inWord)
inWord
- The word to be checkedpublic static boolean IsDate(java.lang.String inWord)
inWord
- The word to be checkedpublic static boolean IsFloat(java.lang.String inWord)
inWord
- The word to be checkedpublic static boolean HasPunctuation(java.lang.String inWord)
inWord
- The word to be checkedpublic static void main(java.lang.String[] args)
args
- arguments