Skip to content

Commit

Permalink
runtime-field: Declare more specific return type in FieldComparator #358
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyknic committed Mar 3, 2017
1 parent b4802e1 commit a965684
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -38,6 +38,9 @@ public interface FieldComparator<ENTITY, V extends Comparable<? super V>>
* @return the field
*/
HasComparableOperators<ENTITY, V> getField();

@Override
FieldComparator<ENTITY, V> reversed();

/**
* Returns {@code true} if this comparator reverses the natural order of the
Expand Down

0 comments on commit a965684

Please sign in to comment.