java - Collection that will maintain insertion order and no duplicates -


this question has answer here:

in java collection collection doesn't allow duplicates , preserve insertion order of data?

linkedhashset 

as per documentation

this implementation differs hashset in maintains doubly-linked list running through of entries. linked list defines iteration ordering, order in elements inserted set (insertion-order)


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -