LinkedHashMap<DN,Entry>
object, which ensures that the order in which you iterate over the entries is the same as the order in which they were inserted. By combining this with the constraint that no entry can be added before its parent, you can ensure that iterating through the entries will always process the parent entries before their children, which is important for both search result processing and LDIF exports. HashMap<ByteString,Set<DN>>
objects could be used to provide that capability.
|
|