|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.brains2b.typewriter.KeyWords
Class that implements single static functions isReserved
and isMethodReserved
which checks if a String
is a Java reserved word.
Method Summary | |
static boolean |
isMethodReserved(java.lang.String name)
check if a String is a Java reserved method Only one will return true at the moment getClass() |
static boolean |
isReserved(java.lang.String name)
check if a String is a Java reserved word/keyword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean isReserved(java.lang.String name)
name
- String, the value to check
public static boolean isMethodReserved(java.lang.String name)
Only one will return true at the moment getClass()
name
- String, the value to check
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |