public class StringComparator extends Object implements Comparator<String>
| Constructor and Description |
|---|
StringComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String obj1,
String obj2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(String obj1, String obj2)
compare in interface Comparator<String>Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.