groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul-Julien Vauthier (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GROOVY-8218) Allow to specify reversed order for @Sortable
Date Sun, 04 Jun 2017 06:21:04 GMT
Paul-Julien Vauthier created GROOVY-8218:
--------------------------------------------

             Summary: Allow to specify reversed order for @Sortable
                 Key: GROOVY-8218
                 URL: https://issues.apache.org/jira/browse/GROOVY-8218
             Project: Groovy
          Issue Type: Improvement
            Reporter: Paul-Julien Vauthier


When using the Sortable annotation it is possible to use reversed order. 

For a leaderboard, you may want to sort its entries by points. 

{code}
@Sortable(reversed = true)
class LeaderBoardEntry {
  int points
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message