private List < Long > asLongList ( Object value ) { long [ ] values = ( long [ ] ) value ; List < Long > list = new ArrayList < Long > ( values . length ) ; for ( long longValue : values ) { list . add ( longValue ) ; } return list ; }
Returns value as a Long List .