Monday 25 May 2015

Sorting using Comparator api

OrderByComparator comparator = OrderByComparatorFactoryUtil.create(TestModelImpl.TABLE_NAME, "title", orderByType.equals("asc"))  

2 comments:

  1. obj is the article to be tried for fairness. The strategy returns genuine if obj and the summoning item are both Comparator protests and utilize the same requesting. Else, it returns false.
    Abrogating meets( ) is pointless, and most straightforward comparators won't do as such.

    ReplyDelete