Class AbstractGenerateEntityImplementationsProcessor.NameFirstComparator
- java.lang.Object
-
- org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor.NameFirstComparator
-
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
- AbstractGenerateEntityImplementationsProcessor
protected static class AbstractGenerateEntityImplementationsProcessor.NameFirstComparator extends Object implements Comparator<String>
-
-
Field Summary
Fields Modifier and Type Field Description protected static Comparator<String>
GET_ID_INSTANCE
protected static Comparator<String>
ID_INSTANCE
-
Constructor Summary
Constructors Constructor Description NameFirstComparator(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String o1, String o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
ID_INSTANCE
protected static final Comparator<String> ID_INSTANCE
-
GET_ID_INSTANCE
protected static final Comparator<String> GET_ID_INSTANCE
-
-
Constructor Detail
-
NameFirstComparator
public NameFirstComparator(String name)
-
-
Method Detail
-
compare
public int compare(String o1, String o2)
- Specified by:
compare
in interfaceComparator<String>
-
-