Package net.shibboleth.idp.authn
Class AuthenticationFlowDescriptor.WeightedComparator<T>
- java.lang.Object
-
- net.shibboleth.idp.authn.AuthenticationFlowDescriptor.WeightedComparator<T>
-
- Type Parameters:
T- object type
- All Implemented Interfaces:
Comparator<T>
- Enclosing class:
- AuthenticationFlowDescriptor
private class AuthenticationFlowDescriptor.WeightedComparator<T> extends Object implements Comparator<T>
AComparatorthat compares the mapped weights of the two operands, using a weight of zero for any unmapped values.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateWeightedComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(T o1, T 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
-
-
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
- Specified by:
comparein interfaceComparator<T>
-
-