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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?