JAVA
Wednesday, September 1, 2010
Simple method for checking the valid collection
public static boolean isValidCollection(Collection collection) {
if (collection != null && collection.size() > 0)
return true;
return false;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment