Serializable
, Comparator<String>
, StringComparator
public class StringLengthComparator extends Object implements StringComparator
Constructor | Description |
---|---|
StringLengthComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(String o1,
String o2) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(String o1, String o2)
compare
in interface Comparator<String>
Copyright © 2018 The University of Manchester. All rights reserved.