Package org.plumelib.util
Class UtilPlume.NullableStringComparator
java.lang.Object
org.plumelib.util.UtilPlume.NullableStringComparator
- All Implemented Interfaces:
Serializable,Comparator<@Nullable String>
- Enclosing class:
UtilPlume
@Deprecated
public static class UtilPlume.NullableStringComparator
extends Object
implements Comparator<@Nullable String>, Serializable
Deprecated.
Same as built-in String comparison, but accept null arguments, and place them at the beginning.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new NullableStringComparator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NullableStringComparator
public NullableStringComparator()Deprecated.Create a new NullableStringComparator.
-
-
Method Details
-
compare
Deprecated.- Specified by:
comparein interfaceComparator<@Nullable String>
-
StringsPlume.NullableStringComparator