generalized size() function for all classes we can think of.
author: Geir Magnusson Jr. author: Mark H. Wilkinson version: $Id: ASTSizeFunction.java 398324 2006-04-30 12:20:24Z dion $
sizeOf(Object val) Calculate the size of various types: Collection, Array, Map, String,
and anything that has a int size() method.
Parameters: val - the object to get the size of.
Calculate the size of various types: Collection, Array, Map, String,
and anything that has a int size() method.
Parameters: val - the object to get the size of. the size of val throws: Exception - if the size cannot be determined.