I wonder if... (original) (raw)
there's a better way than declaring from time to time the following map:
`
private static final Map<String, Class> primitiveToClass = new HashMap<String, Class>() {{
put("boolean", Boolean.class);
put("double", Double.class);
put("float", Float.class);
put("long", Long.class);
put("int", Integer.class);
}};
`
(Used Crazybob's contraption, but that's not the point.)
I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…
anyone here?
It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…