public class SingleMemberGroup extends Object implements MemberGroup
Constructor and Description |
---|
SingleMemberGroup() |
SingleMemberGroup(Member member) |
Modifier and Type | Method and Description |
---|---|
void |
addMember(Member member) |
void |
addMembers(Collection<Member> members) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
hasMember(Member member) |
Iterator<Member> |
iterator() |
void |
removeMember(Member member) |
int |
size() |
String |
toString() |
public SingleMemberGroup()
public SingleMemberGroup(Member member)
public void addMember(Member member)
addMember
in interface MemberGroup
public void addMembers(Collection<Member> members)
addMembers
in interface MemberGroup
public void removeMember(Member member)
removeMember
in interface MemberGroup
public boolean hasMember(Member member)
hasMember
in interface MemberGroup
public Iterator<Member> iterator()
iterator
in interface MemberGroup
public int size()
size
in interface MemberGroup
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.