Iterable is now supported, even more basic than Collection.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6515 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -78,7 +78,7 @@ public class Streamer
|
||||
// if it's not an array, it must be streamable, or a Collection or Map
|
||||
if (!target.isArray()) {
|
||||
return Streamable.class.isAssignableFrom(target) ||
|
||||
Collection.class.isAssignableFrom(target) ||
|
||||
Iterable.class.isAssignableFrom(target) ||
|
||||
Map.class.isAssignableFrom(target);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user