In Java an anonymous inner class can refer to variables in it's local scope:
public class A { public void method() { ...
Are inner classes more lightweight than normal classes, or in the end java compiles inner classes just like normal classes? I know classes in java are not all very lightweight themselves, and ...
So I have the following:
Object a = data.getA(); Object b = data.getB(); Object c = data.getC(); // and so on
Basically what I need to do is this
FileChannel.MapMode.READ_ONLY
(.. FileChannel MapMode READ_ONLY)
java.lang.NoSuchFieldException: MapMode
/