Md Zuanyeed Kamal wrote:However, if we have regular expression on only one side "[a-z].*" , or ".*[a-z]" , then what would it mean in general ? or how would you explain that ?
Stephan van Hulst wrote:Types that implement Constable can express their values as a ConstantDesc. In short, if a class implements Constable, you can store its values in the JVM's constant pool and you can compile symbolic references to these constants into the class file. I suppose the purpose of all of this is that it allows Java to use compiled constants of types other than primitives and strings.