Class AbstractB2BOrderThresholdPermissionEvaluationStrategy.ThresholdComparator
java.lang.Object
de.hybris.platform.b2b.strategies.impl.AbstractB2BOrderThresholdPermissionEvaluationStrategy.ThresholdComparator
- All Implemented Interfaces:
Serializable,Comparator<B2BOrderThresholdPermissionModel>
- Enclosing class:
- AbstractB2BOrderThresholdPermissionEvaluationStrategy<P extends B2BOrderThresholdPermissionModel>
protected static class AbstractB2BOrderThresholdPermissionEvaluationStrategy.ThresholdComparator
extends Object
implements Comparator<B2BOrderThresholdPermissionModel>, Serializable
Use this comparator to sort by permission threshold.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(B2BOrderThresholdPermissionModel permission1, B2BOrderThresholdPermissionModel permission2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ThresholdComparator
protected ThresholdComparator()
-
-
Method Details
-
compare
public int compare(B2BOrderThresholdPermissionModel permission1, B2BOrderThresholdPermissionModel permission2) - Specified by:
comparein interfaceComparator<B2BOrderThresholdPermissionModel>
-