The Set Interface (The Java™ Tutorials > Collections > Interfaces)
11 weeks ago by kostas
"Note that the code always refers to the Collection by its interface type (Set) rather than by its implementation type (HashSet). This is a strongly recommended programming practice because it gives you the flexibility to change implementations merely by changing the constructor."
java
11 weeks ago by kostas
Parsing and Formatting a Byte Array into Binary, Octal, and Hexadecimal | Example Depot
february 2012 by kostas
Let's keep this handy just in case.
java
february 2012 by kostas
java - Way to get number of digits in an int? - Stack Overflow
february 2012 by kostas
int length = String.valueOf(1000).length();
java
february 2012 by kostas
PATH and CLASSPATH (Mac OS forum at JavaRanch)
october 2011 by kostas
"The Key Concept is this: If you're looking to change your version of Java on a Mac, do not change your PATH. Instead, change the CurrentJDK and/or Current alias in the Framework."
java
october 2011 by kostas
import : Java Glossary
october 2011 by kostas
"If you have a class name used in more than one package, you will save yourself a lot of grief if you always fully qualify references to it, rather than relying on import. The computer may understand but, your fellow programmers will often be confused by the lack of qualification. Beware of java.util.List and java.awt.List."
java
october 2011 by kostas
Oracle JDK7 Mac OS X Port Developer Preview Release — Java.net
october 2011 by kostas
/Library/Java/JavaVirtualMachines
java
october 2011 by kostas
Creating Shazam in Java - Redcode
september 2010 by kostas
"A couple of days ago I encountered this article: How Shazam Works. This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java?"
java
to:mit
september 2010 by kostas