Class SinglePropertyComparator<T,P>
java.lang.Object
com.atlassian.bamboo.util.comparator.SinglePropertyComparator<T,P>
- All Implemented Interfaces:
Comparator<T>
- Direct Known Subclasses:
StringPropertyComparator
- Author:
- Krystian Brazulewicz
-
Constructor Summary
ConstructorsConstructorDescriptionSinglePropertyComparator
(@NotNull Class<T> beanClass, @NotNull String propertyName, @NotNull Class<P> propertyReturnType, @Nullable Comparator<P> propertyComparator) -
Method Summary
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
-
Constructor Details
-
SinglePropertyComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-