@ SuppressWarnings ( { "rawtypes" , "unchecked" } ) protected Object parseCollection ( GetterMethodCover method , Collection collection ) { if ( method . isArrayObjectCollection ( ) ) { return parseArrayObjectCollection ( method , collection ) ; } else if ( method . isObjectCollection ( ) ) { return parseObjectCollection ( method , collection ) ; } else if ( method . isByteCollection ( ) ) { return collectionToPrimitiveByteArray ( collection ) ; } else if ( method . isCharCollection ( ) ) { return charCollectionToPrimitiveByteArray ( collection ) ; } else if ( method . isArrayCollection ( ) ) { return parseArrayCollection ( method , collection ) ; } return collection ; }
Parse collection of values and get the value mapped to smartfox value