Package org.eclipse.jgit.util
Interface References
public interface References
Utility methods for object references
- Since:
- 5.4
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> booleanisSameObject(T ref1, T ref2) Compare two references
-
Method Details
-
isSameObject
static <T> boolean isSameObject(T ref1, T ref2) Compare two references- Type Parameters:
T- type of the references- Parameters:
ref1- first referenceref2- second reference- Returns:
trueif both references refer to the same object
-