Interface Trie.CollectionMergeResolver<T>

  • All Superinterfaces:
    Trie.MergeResolver<T>
    Enclosing class:
    Trie<T>

    public static interface Trie.CollectionMergeResolver<T>
    extends Trie.MergeResolver<T>
    Resolver of content of merged nodes. The resolver's methods are only called if more than one of the merged nodes contain content, and the order in which the arguments are given is not defined. Only present non-null values will be included in the collection passed to the resolving methods. Can also be used as a two-source resolver.
    • Method Detail

      • resolve

        T resolve​(java.util.Collection<T> contents)