Class GvmListKeyer<K>

  • Type Parameters:
    K - type of key
    All Implemented Interfaces:
    GvmKeyer<List<K>>

    public class GvmListKeyer<K>
    extends GvmSimpleKeyer<List<K>>
    Allows multiple keys to be associated with clusters in the form of a lists which may be concatenated when clusters merge.
    Author:
    Tom Gibara
    • Constructor Detail

      • GvmListKeyer

        public GvmListKeyer()
    • Method Detail

      • combineKeys

        protected List<K> combineKeys​(List<K> list1,
                                      List<K> list2)
        Description copied from class: GvmSimpleKeyer
        Combines two keys. Combining two keys may totally discard information from one, both or none of the supplied keys.
        Specified by:
        combineKeys in class GvmSimpleKeyer<List<K>>
        Parameters:
        list1 - a key, not null
        list2 - a key, not null
        Returns:
        a combined key