I have a class that has hundreds of static fields int fields represents colors.
public class LColorPallette {
public static final int RED_050 = 0xfde0dc;
...
}
I want to have them in a container that can be arraylist, map or set. I know a static namespace can be declared so that there would be something like that
public class ColorPalletteSingleton {
static {
container.add(...);
...
}
I need to an example to how to do it or any others ways do solve my problem?
Thanks