public GenericSequenceMapper(IEqualityComparer <TItem> equalityComparer)
 {
     MappedObjectsCount       = MapConstants.FirstMappableInteger;
     _subnodeEqualityComparer = equalityComparer;
     _root          = new GenericSequenceNode <TItem>(default, null, equalityComparer);
 public GenericSequenceNode(TItem value, GenericSequenceNode <TItem> parent, IEqualityComparer <TItem> equalityComparer)
 {
     NextValues = new Dictionary <TItem, GenericSequenceNode <TItem> >(equalityComparer);
     Parent     = parent;
     Value      = value;
 }