Class Grouper


  • public class Grouper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Grouper​(java.lang.Class c)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addGroupBy​(Getter get)  
      void addGroupBy​(java.lang.String on)  
      java.util.Map group​(java.util.List items)  
      java.util.List groupSortByGroupSize​(java.util.List items, java.lang.String ascDesc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Grouper

        public Grouper​(java.lang.Class c)
    • Method Detail

      • addGroupBy

        public void addGroupBy​(Getter get)
                        throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • addGroupBy

        public void addGroupBy​(java.lang.String on)
      • groupSortByGroupSize

        public java.util.List groupSortByGroupSize​(java.util.List items,
                                                   java.lang.String ascDesc)
                                            throws ChainException
        Throws:
        ChainException