Pages
-
Recent Posts
- Which Would You Rather Have: The Planet, Or A Patent?
- How Copyright Would Make The ‘Singularity’ Infringement If It Ever Arrived
- Network Analysis Reveals Apparent (And Legally Questionable) Attack On Torrent Networks
- Court Dumps Patent Lawsuit Against Tons Of Online Retailers
- Java: Jury Says Google Did Not Infringe / Comprehensive JVM Options List
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
Meta
Category Archives: Guava
PHPHOST BLOG
Web Hosting Related Articles You May Need
Guava Presents Java Throwable Stack Trace as Single String
Tip #5 of my blog post Ten Tips for Using Java Stack Traces demonstrates two example of using Java code to extract a Throwable’s (implying Error or Exception) stack trace into a single String representation using either PrintWriter or PrintStream. Thes… Continue reading
Posted in Guava, Syndicated
Leave a comment
Guava Preconditions Class
Anyone who’s written much Java has probably written methods that begin with conditionals that verify either the provided parameters or the state of the object being acted upon before proceeding with the remainder of the method’s implementation. These c… Continue reading
Posted in Guava, Syndicated
Leave a comment
Guava’s Objects Class: Equals, HashCode, and ToString
If you are fortunate enough to be using JDK 7, the newly available Objects class is the obvious (at least to me) choice for implementing the “common” Java object methods such as equals(Object) [with Objects.equals(Object,Object)], hashCode() [with Obje… Continue reading
Posted in Guava, Syndicated
Leave a comment
Guava’s Bidirectional Maps
Google Guava has much to offer the Java developer working with J2SE 5, Java SE 6, or Java SE 7. The older the version of these being used, the more useful Guava can be. Although Java SE 7 brings select Guava-provided functionality to the Java programmi… Continue reading
Posted in Guava, Java (General), Syndicated
Leave a comment
Checking for Null or Empty or White Space Only String in Java
.NET Framework 4 introduces a new method on its String class called IsNullOrWhiteSpace that checks whether a provided String is null, empty, or consists only of “white space.” This handy method is in addition to the method IsNullOrEmpty that has been a… Continue reading
Posted in Apache Commons, Groovy, Guava, Java (General), Syndicated
Leave a comment
LATEST NEWS
