List of utility methods to do Object Size
int | size(Object o) size if (o instanceof Collection) return ((Collection) o).size(); else if (o instanceof Map) return ((Map) o).size(); else if (o instanceof Object[]) return ((Object[]) o).length; else if (o instanceof boolean[]) return ((boolean[]) o).length; ... |