I have 3 String arrays with constants. eg:
String[] digit = {\"one\", \"two\", \"three\"};
String[] teen= {\"ten\", \"twenty\", \"thirty\"};
String[] anchors
They can be three inner classes like this:
public class Types {
public enum Digits {...}
public enum Teens {...}
....
}
Then refer them Types.Digits.ONE
, Types.Teen.TWENTY
etc.
You can also use static imports like this:
import Types.Digits;
import Types.Teen;
..
in order to have shorter references: Digits.ONE
, Teen.TWENTY
etc.