com.atlassian.bamboo.util.comparator
Class StringPropertyComparator<T>
java.lang.Object
com.atlassian.bamboo.util.comparator.SinglePropertyComparator<T,java.lang.String>
com.atlassian.bamboo.util.comparator.StringPropertyComparator<T>
- All Implemented Interfaces:
- java.util.Comparator<T>
public class StringPropertyComparator<T>
- extends SinglePropertyComparator<T,java.lang.String>
Comparator that compares object using a specified property returning a String value.
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 |
stringPropertyComparator
public static <T> java.util.Comparator<T> stringPropertyComparator(@NotNull
java.lang.Class<T> beanClass,
@NotNull
java.lang.String propertyName)
stringPropertyCaseInsensitiveComparator
public static <T> java.util.Comparator<T> stringPropertyCaseInsensitiveComparator(@NotNull
java.lang.Class<T> beanClass,
@NotNull
java.lang.String propertyName)
Copyright © 2011 Atlassian. All Rights Reserved.