While going through Collection Mapping in Hibernate. I came accrosse inherent order. What does it mean to have inherent order?
thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It refers to whether the order of the elements in a collection is important or not. A list has inherent order: A list containing [1, 2, 3] is different from a list containing [3, 2, 1]. A set, on the other hand, does not have inherent order: A set containing [1, 2, 3], is the same as a set containing [3, 2, 1] or [2, 1, 3] and so on.