Class ModelMerger.SourceDominant<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    ModelMerger.Remapping<T>
    Enclosing class:
    ModelMerger

    private static class ModelMerger.SourceDominant<T>
    extends java.lang.Object
    implements ModelMerger.Remapping<T>
    Return the second value if sourceDominant is true, the first one otherwise.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean sourceDominant  
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceDominant​(boolean sourceDominant)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T merge​(T u, T v)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sourceDominant

        private final boolean sourceDominant
    • Constructor Detail

      • SourceDominant

        SourceDominant​(boolean sourceDominant)