flatten

inline fun <Type, C : Iterable<Type>> GdxArray<out C>.flatten(): GdxArray<Type>

Returns a single GdxArray of all elements from all collections in the given GdxArray.


inline fun <Key, Type, Value : Iterable<Type>> GdxMap<Key, out Value>.flatten(): GdxArray<Type>

Returns a single GdxArray of all elements from all collections in the given GdxMap.


inline fun <Type, C : Iterable<Type>> GdxSet<out C>.flatten(): GdxSet<Type>

Returns a single GdxSet of all elements from all collections in the given GdxSet.