I was looking around to see if you can inline functions in java and I came across this:
from: http://www.javacoffeebreak.com/articles/thinkinginjava/comparingc++andjava.html
Now, does that mean that only final methods can be inlined? Or will the compiler inline non-final methods also?
# No inline methods. The Java compiler might decide on its own to inline a method, but you don?t have much control over this. You can suggest inlining in Java by using the final keyword for a method. However, inline functions are only suggestions to the C++ compiler as well.
from: http://www.javacoffeebreak.com/articles/thinkinginjava/comparingc++andjava.html
Now, does that mean that only final methods can be inlined? Or will the compiler inline non-final methods also?