Package io.trino.util

Interface Mergeable<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T mergeWith​(T other)
      Merges the current state with the state of the other instance, and returns the merged state.
    • Method Detail

      • mergeWith

        T mergeWith​(T other)
        Merges the current state with the state of the other instance, and returns the merged state.
        Throws:
        NullPointerException - if other is null