This is a Sponsored Post written by me on behalf of Jones Soda. All opinions are 100% mine.
Are you a football fan? One thing that goes good with football on Sunday is enjoying a nice glass of Seahawks soda. Jones Soda is famous for their limited edition soda’s and now you can get a [...]
Seattle Seahawks Jones Soda
- No Comments »
- January 13th, 2010 by admin
Groovy Dereferencing Null Pointer Exceptions Step 13
The most annoying and most common error in Java is the Null Pointer Exception.
If you type:
def a=nullprintln a.size()You will get a Null Pointer Exception
If you typeprintln a?.size(),
it will print null and not throw you a null pointer exception. This makes it a lot easier to check for null pointer exceptions.
(Step 14 Coming Soon)
Tweet [...]
- No Comments »
- January 13th, 2010 by admin
Check Out the Dungeons and Dragons Soda
This is a Sponsored Post written by me on behalf of Jones Soda. All opinions are 100% mine.
Are you one of the Dungeons and Dragons fan? How would you like to checkout their unique Dungeons and Dragons Jones Soda? This new and unique Dungeons and Dragons soda has many different flavors such as Sneak [...]
- No Comments »
- January 13th, 2010 by admin
Operator Overloading in Groovy Step 12
Another shortcut in Groovy isOperator Overloading.You can type something like this:def d = new Date()println d.next()(1..3).each{println d++}
This code will print:Mon Jan 11 12:06:11 PST 2010Sun Jan 10 12:06:11 PST 2010Mon Jan 11 12:06:11 PST 2010Tue Jan 12 12:06:11 PST 2010
assuming that today’s date is January 10th at 12:06 PST in 2010.
This code will instatiate a [...]
- No Comments »
- January 13th, 2010 by admin