java.lang.Object
org.eclipse.jgit.util.Equality
Equality utilities.
- Since:
- 6.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> boolean
isSameInstance
(T a, T b) Compare by reference
-
Constructor Details
-
Equality
public Equality()
-
-
Method Details
-
isSameInstance
public static <T> boolean isSameInstance(T a, T b) Compare by reference- Type Parameters:
T
- type of the objects to compare- Parameters:
a
- First object to compareb
- Second object to compare- Returns:
true
if the objects are identical,false
otherwise- Since:
- 6.2
-