aeron-cluster/src/main/java/io/aeron/cluster/ClusterMember.java
public static void addClusterMemberIds(
        final ClusterMember[] clusterMembers, final Int2ObjectHashMap<ClusterMember> clusterMemberByIdMap)
    {
        for (final ClusterMember member : clusterMembers)
        {
            clusterMemberByIdMap.put(member.id(), member);
        }
    }
public static void addClusterMemberIds(
        final ClusterMember[] clusterMembers, final Int2ObjectHashMap<ClusterMember> clusterMemberByIdMap)
    {
        for (final ClusterMember member : clusterMembers)
        {
            clusterMemberByIdMap.put(member.id(), member);
        }
    }
public static void addClusterMemberIds ( final ClusterMember [ ] clusterMembers , final Int2ObjectHashMap < ClusterMember > clusterMemberByIdMap ) { for ( final ClusterMember member : clusterMembers ) { clusterMemberByIdMap . put ( member . id ( ) , member ) ; } }
Populate map of {@link ClusterMember}s which can be looked up by id.

@param clusterMembers       to populate the map.
@param clusterMemberByIdMap to be populated.
Populate map of { @link ClusterMember } s which can be looked up by id .