app/src/main/java/db/juhaku/juhakudb/core/android/transaction/StoreTransactionTemplate.java
/**
     * Maps given value to collection if value itself is not assignable from collection.
     * @param value Object value to map.
     * @return Collection containing given value or if value is collection then itself will be returned.
     *
     * @since 1.2.0
     *
     * @hide
     */
Maps given value to collection if value itself is not assignable from collection.
@param value Object value to map.
@return Collection containing given value or if value is collection then itself will be returned.



@hide
Maps given value to collection if value itself is not assignable from collection . @param value Object value to map . @return Collection containing given value or if value is collection then itself will be returned . @hide
private static <T> Collection<T> toCollection(T value) {
        if (Collection.class.isAssignableFrom(value.getClass())) {
            return (Collection<T>) value;
        } else {
            return Arrays.asList(value);
        }
    }
private static < T > Collection < T > toCollection ( T value ) { if ( Collection . class . isAssignableFrom ( value . getClass ( ) ) ) { return ( Collection < T > ) value ; } else { return Arrays . asList ( value ) ; } }
Maps given value to collection if value itself is not assignable from collection.
Maps given value to collection if value itself is not assignable from collection .