@ Transformer public static int len ( Object o ) { if ( o instanceof Collection ) { return ( ( Collection ) o ) . size ( ) ; } else if ( o instanceof Map ) { return ( ( Map ) o ) . size ( ) ; } else if ( o . getClass ( ) . isArray ( ) ) { return Array . getLength ( o ) ; } else { return str ( o ) . length ( ) ; } }
get length of specified object