Interface Combinable<T>

    • Method Detail

      • combineWith

        T combineWith​(T other)
        Combine this object with another object if it is possible and return a combined object. This method may determine that it is not possible to combine the objects and return null in that case.
        Parameters:
        other - an object to combine this object with
        Returns:
        a combined object, or null if the objects shouldn't be combined