code: public List<Address> getNewMembership(final Collection<Collection<Address>> subviews) {
          ArrayList<Collection<Address>> aSubviews=new ArrayList<>(subviews);
          int sLargest = 0;
          int iLargest = 0;
  
          for (int i = 0; i < aSubviews.size(); i++) {
              int size = aSubviews.get(i).size();
              if (size > sLargest) {
                  sLargest = size;
                  iLargest = i;
              }
          }
  
          Membership mbrs = new Membership(aSubviews.get(iLargest));
          for (int i = 0; i < aSubviews.size(); i++)
              if (i != iLargest)
                  mbrs.add(aSubviews.get(i));
  
          return mbrs.getMembers();
      }
docs: Called when a merge happened. The largest subview wins.