@OpenApiAll public class NameSequencer extends java.lang.Object implements Sequencer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
NameSequencer() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ShapeElement shape1,
ShapeElement shape2) |
protected int |
compareStrings(java.lang.String string1,
java.lang.String string2)
Compares two strings alphanumerically.
|
java.lang.String |
getName()
The name of the sequencer
|
public java.lang.String getName()
Sequencerpublic int compare(ShapeElement shape1, ShapeElement shape2)
compare in interface Sequencercompare in interface java.util.Comparator<ShapeElement>protected int compareStrings(@CheckForNull
java.lang.String string1,
@CheckForNull
java.lang.String string2)
string1 - first stringstring2 - second string