MutableRepresentation.resources as HashMap affects ordering

27 views
Skip to first unread message

Richard Wise

unread,
Sep 6, 2013, 8:14:18 AM9/6/13
to halbuil...@googlegroups.com
Hi,

I have a REST API call that I would like to return an ordered list of resources from. Because MutableRepresentation.resources is a HashMap however, this imposes the hash ordering. Are the results of a REST API call supposed to be order-agnostic, or can HashMap be replaced with an insertion-order preserving Map collection?

Cheers
Reply all
Reply to author
Forward
0 new messages