Class MembershipGroup


  • public class MembershipGroup
    extends java.lang.Object
    Membership group.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<Member> members()
      Returns the set of members in the group.
      java.lang.String toString()  
      Version version()
      Returns the group version.
      • Methods inherited from class java.lang.Object

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

      • MembershipGroup

        public MembershipGroup​(Version version,
                               java.util.Set<Member> members)
    • Method Detail

      • version

        public Version version()
        Returns the group version.
        Returns:
        the group version
      • members

        public java.util.Set<Member> members()
        Returns the set of members in the group.
        Returns:
        the set of members in the group
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object