Interface References


  • public interface References
    Utility methods for object references
    Since:
    5.4
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <T> boolean isSameObject​(T ref1, T ref2)
      Compare two references
    • Method Detail

      • isSameObject

        static <T> boolean isSameObject​(T ref1,
                                        T ref2)
        Compare two references
        Type Parameters:
        T - type of the references
        Parameters:
        ref1 - first reference
        ref2 - second reference
        Returns:
        true if both references refer to the same object