Add singleton ObjectToStringComparator.INSTANCE.
This commit is contained in:
parent
6a3dabbee0
commit
1151960efa
|
@ -119,6 +119,9 @@
|
|||
<action dev="ggregory" type="add" due-to="Gary Gregory">
|
||||
Add ListUtils.getFirst() and getLast().
|
||||
</action>
|
||||
<action dev="ggregory" type="add" due-to="Gary Gregory">
|
||||
Add singleton ObjectToStringComparator.INSTANCE.
|
||||
</action>
|
||||
<!-- UPDATE -->
|
||||
<action type="update" dev="kinow" due-to="Dependabot">
|
||||
Bump actions/setup-java from v1.4.0 to v2 #174 #177 #186 #224.
|
||||
|
|
|
@ -22,6 +22,13 @@ import java.util.Comparator;
|
|||
|
||||
public final class ObjectToStringComparator implements Comparator<Object>, Serializable {
|
||||
|
||||
/**
|
||||
* Singleton instance.
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
public final ObjectToStringComparator INSTANCE = new ObjectToStringComparator();
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue