sonny8441 / google-collections

Automatically exported from code.google.com/p/google-collections
Apache License 2.0
0 stars 0 forks source link

Functions to support Enumerations #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Given:

Collection<MyEnum> fromList = Lists.newArrayList(MyEnumValue1, MyEnumValue2);

this is impossible:

Lists.transform(fromList, Functions.toStringFunction());

Would be lovely to be able to easily transform those enumeration
collections into string collections for persistence with ejb3... :)

Original issue reported on code.google.com by chea...@gmail.com on 27 Aug 2009 at 11:24

GoogleCodeExporter commented 9 years ago
Am I a retard or what - of course it does not work with Collections. Just like 
the
API states... :(

Please close and put me on a blacklist or something... :(

Original comment by chea...@gmail.com on 27 Aug 2009 at 11:29

GoogleCodeExporter commented 9 years ago
I don't understand the request, but it sounds like you're retracting it -- let 
us
know if there's something you need.

Original comment by kevin...@gmail.com on 27 Aug 2009 at 2:24