On 10/16/07, Klas Ehnrot <[EMAIL PROTECTED]> wrote: > On 10/15/07, Björn Granvik <[EMAIL PROTECTED]> wrote: > > > > ** Repeated iterables > > *In the chapter "Coding Relationships" there is a > > > > private static class OrderIterable extends AbstractCollection<IOrder> > > > > Should probably be parameterized using IOrder and the pojo object Order > > so that there would be no need to write a specific wrapping > > OrderIterable for each pojo. > > I do believe that there is such a utility already in the code somewhere. > > The Neo crew should be able to help on this. Anyone? > > Yes some sort of utility class in Neo would be great if it is possible? >
When I need to convert something from Iterable<A> to Iterable<B> I write the few lines of code that does exactly that. I'll ask Mattias if he has written a utility that makes it easier to do this but I don't think he has. If it can be done it is strange that Sun hasn't added it to their API (maybe they have and I missed it?). -Johan _______________________________________________ Neo mailing list [email protected] http://lists.neo4j.org/mailman/listinfo/user

