Package com.authlete.common.dto
Class Scope.NameComparator
- java.lang.Object
-
- com.authlete.common.dto.Scope.NameComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<Scope>
- Enclosing class:
- Scope
public static class Scope.NameComparator extends Object implements Comparator<Scope>, Serializable
Comparator based on scope names.- Since:
- 1.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Scope a, Scope b)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Scope a, Scope b)
- Specified by:
compare
in interfaceComparator<Scope>
-
-