lub

abstract fun lub(other: LatticeElement<T>): LatticeElement<T>

Computes the least upper bound of this lattice and other. It returns a new object and does not modify either of the objects.