java - Order of elements in MultiKeyMap -


recently started using apache commons multikeymap of projects , in there can have multiple values value.

multikeymap typepanelunomap = new multikeymap(); 

here want know whether can preserve insertion order using multikeymap. know java.util linkedhashmap can preserve insertion order.

map hshmap = new linkedhashmap() 

can have same functionality on multikeymap?

thanks, keth

from javadocs

this map implemented decorator of abstracthashedmap enables behaviour added easily.

multikeymap.decorate(new linkedmap()) creates ordered map.


Comments