I have an enum type...
public static enum Methods {
NOTEQUAL,
ORDERED,
minMatch,
minItem,
minLength,
sameLength,
}
The question is how should I use the coding convention. Should I use camelCase NotEqual
(wich I use in a simple class) or should I do like this: NOT_EQUAL
? Or simply use uppercase characters: NOTEQUAL
, SAMELENGTH
?
Is there some code convention for this?