java Programming Glossary: techniques
How to avoid type safety warnings with Hibernate HQL results? http://stackoverflow.com/questions/115692/how-to-avoid-type-safety-warnings-with-hibernate-hql-results typing each time you call q.list . There are two other techniques I'd suggest Collections.checkedList Replace your assignment..
Why should the interface for a Java class be prefered? http://stackoverflow.com/questions/147468/why-should-the-interface-for-a-java-class-be-prefered it's easier to add unit tests to your code using Mocking techniques and to change the underlying implementation if needed in the..
How to find unused/dead code in java projects http://stackoverflow.com/questions/162551/how-to-find-unused-dead-code-in-java-projects code as possible. Suggestions for general strategies techniques other than specific tools are also appreciated. Edit Note that..
Real differences between “java -server” and “java -client”? http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client outperforms even advanced static analysis and compilation techniques. Note The release of jdk6 update 10 see Update Release Notes..
OpenGL extensions available on different Android devices [closed] http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices Android game s . Currently I'm supporting three different techniques of drawing sprites the basic way using vertex arrays slow using..
Weird Integer boxing in Java http://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java this may not be feasible using existing implementation techniques. The rules above are a pragmatic compromise. The final clause..
Compiled vs. Interpreted Languages http://stackoverflow.com/questions/3265357/compiled-vs-interpreted-languages be more convenient for dynamic languages Note that modern techniques such as bytecode compilation add some extra complexity what..
How to deal with “java.lang.OutOfMemoryError: Java heap space” error (64MB heap size) http://stackoverflow.com/questions/37335/how-to-deal-with-java-lang-outofmemoryerror-java-heap-space-error-64mb-heap a database or some scientific analysis program and then techniques like caching and memory mapped IO become useful. share improve..
Get a list of resources from classpath directory http://stackoverflow.com/questions/3923129/get-a-list-of-resources-from-classpath-directory from Spring Framework 3 The above 2 techniques may be very slow at runtime if your classpath is huge. A faster..
Simple calculator in JSP http://stackoverflow.com/questions/4114742/simple-calculator-in-jsp so that the bigger picture the sum of all those languages techniques becomes more obvious. You may find this answer useful then...
Android AudioRecord class - process live mic audio quickly, set up callback function http://stackoverflow.com/questions/4525206/android-audiorecord-class-process-live-mic-audio-quickly-set-up-callback-func lots with the notifications and a bunch of other techniques I settled on this code private class AudioIn extends Thread..
In Java, when should I create a checked exception, and when should it be a runtime exception? [duplicate] http://stackoverflow.com/questions/499437/in-java-when-should-i-create-a-checked-exception-and-when-should-it-be-a-runti Checked exceptions may clutter code but there are techniques to deal with this. I like to translate exceptions when passing..
Integer wrapper objects share the same instances only within the value 127? http://stackoverflow.com/questions/5117132/integer-wrapper-objects-share-the-same-instances-only-within-the-value-127 this may not be feasible using existing implementation techniques. The rules above are a pragmatic compromise. The final clause..
Java IO implementation of unix/linux “tail -f” http://stackoverflow.com/questions/557844/java-io-implementation-of-unix-linux-tail-f of unix linux &ldquo tail f&rdquo I'm wondering what techniques and or library to use to implement the functionality of the..
java: “final” System.out, System.in and System.err? http://stackoverflow.com/questions/5951464/java-final-system-out-system-in-and-system-err true on them or by using Unsafe methods . Such techniques are used during deserialization by Hibernate and other frameworks..
When to use <ui:include>, tag files, composite components and/or custom components? http://stackoverflow.com/questions/6822000/when-to-use-uiinclude-tag-files-composite-components-and-or-custom-componen knowing existing ui include and other templating techniques offered by Facelets 1.x. What is the difference between those..
Stack with find-min/find-max more efficient than O(n)? http://stackoverflow.com/questions/7134129/stack-with-find-min-find-max-more-efficient-than-on the stack using one of the standard stack implementation techniques such as using a dynamic array or linked list of objects each..
Android How to draw a smooth line following your finger http://stackoverflow.com/questions/8287949/android-how-to-draw-a-smooth-line-following-your-finger together a quick project demonstrating these different techniques including Square's suggessted signature implementation. Enjoy..
Is Java 100% object oriented? [closed] http://stackoverflow.com/questions/974583/is-java-100-object-oriented it allows Moose an object system that allows very advanced techniques for dealing with the complexity of OO. And syntactic sugar is..
|