Class AttributeComparator<T extends AbstractEntity<?>>

  • All Implemented Interfaces:
    Comparator<T>

    public class AttributeComparator<T extends AbstractEntity<?>>
    extends Object
    implements Comparator<T>
    A comparator for comparing two entities based on a value of an attribute (using reflection)
    Author:
    bas.rutten
    • Constructor Detail

      • AttributeComparator

        public AttributeComparator​(String attribute)
        Constructor
        Parameters:
        attribute -