Class MemberUtil


  • public class MemberUtil
    extends java.lang.Object
    Utility for handling Member related configuration
    • Constructor Summary

      Constructors 
      Constructor Description
      MemberUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Member> addIndices​(java.util.List<Member> list)
      Scan through the list to get all the available indices which will be shown as a side bar tool on the list
      static java.util.List<Member> combineSort​(java.util.List<Member> original, java.util.List<Member> addl)
      Combine sort on the current list and new members
      static java.util.List<Member> sort​(java.util.List<Member> list)
      Sort the list accordingly
      • Methods inherited from class java.lang.Object

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

      • MemberUtil

        public MemberUtil()
    • Method Detail

      • sort

        public static java.util.List<Member> sort​(java.util.List<Member> list)
        Sort the list accordingly
        Parameters:
        list - list of Member to sort
        Returns:
        list of member
      • combineSort

        public static java.util.List<Member> combineSort​(java.util.List<Member> original,
                                                         java.util.List<Member> addl)
        Combine sort on the current list and new members
        Parameters:
        original - original list of Members
        addl - additional list of Members
        Returns:
        combined and sorted list of Members
      • addIndices

        public static java.util.List<Member> addIndices​(java.util.List<Member> list)
        Scan through the list to get all the available indices which will be shown as a side bar tool on the list
        Parameters:
        list - list of Member to add indices
        Returns:
        list of Member with added indices