Always remain updated about current software development trends

Articles in JAVA

Knowing more about Easy-Cassandra Project

| 998                 Easy-Cassandra is a framework ORM API and a high client for Apache Cassandra in java, with this is possible persist information from the Java Object in easy way. For this is only necessary...

Commencing JavaFX 2.1 Development Using CentOS 6.2's 'Software Development Workstation' Configuration

2671 | 0About a month ago, I tried toget startedwith theJavaFX 2.1 Developer Previewon my CentOS 5.5 Linux system. I didn't get very far, due to dependency problems (a great many of the CentOS 5.5 packages were too old). After deciding I didn't want to risk...

Eclipse Shortcuts

Editors are an integral part of a programmer’s life. If you have good proficiency in using an editor thats a great advantage. It comes very handy to debug. Traditional notepad and SOPs (System.out.println) are the way we start learning a language but...

Swap Two Numbers without using Temp Variable

You can do it with some XORs:int a = 25, b = 7;a = a ^ b;b = b ^ a;a = a ^ b;Or the same thing with some shorthand to make the code even harder to read:a ^= b;b ^= a;a ^= b;

Swap Two Numbers without using Temp Variable

That conclusion is definitely wrong. Your equation expanded equals: b = (a+b) - (a-b) = a+b - a + b = 2*bFor your example a=20, b=10b = (20+10) - (20-10) = (30) - (10) = 20b = 20 + 10 - 20 + 10 = 20A counter example to disprove this: a=75, b=88b = (75+88) -...

Swap Two Numbers without using Temp Variable

That conclusion is definitely wrong. Your equation expanded equals: b = (a+b) - (a-b) = a+b - a + b = 2*bFor your example a=20, b=10b = (20+10) - (20-10) = (30) - (10) = 20b = 20 + 10 - 20 + 10 = 20A counter example to disprove this: a=75, b=88b = (75+88) -...

Swap Two Numbers without using Temp Variable

Swap Two Numbers without using Temp Variable

Java Mind Gymnastics

| 0I like a good Java puzzle.  The trickier the better.  In this article I will tell you about a new set of puzzles by Wouter Coekaerts that will melt your Java brain. About five years ago, I was suckered into participating in a Java Black Belt competition...

Texture Atlas Maker

A utility to create texture atlases for 2D OpenGL games

Running GlassFish 3.1.2 with Apache HTTP Server

| 0WithGlassFish 3.1.2 releasearound the corner, I've decided to update the outdatedblogto cover how to front GlassFish 3.1.2 withApache HTTP Server.  The instructions have changed since v3 and it might lead to someconfusionto the users who might be looking...