public static ClusterMember findMember(final ClusterMember[] clusterMembers, final int memberId) {
    """
	Find a {@link ClusterMember} with a given id.
	
	@param clusterMembers to search.
	@param memberId       to search for.
	@return the {@link ClusterMember} if found otherwise null.
    """
        for (final ClusterMember member : clusterMembers)
        {
            if (member.id() == memberId)
            {
                return member;
            }
        }

        return null;
    }
public static ClusterMember findMember(final ClusterMember[] clusterMembers, final int memberId)
    {
        for (final ClusterMember member : clusterMembers)
        {
            if (member.id() == memberId)
            {
                return member;
            }
        }

        return null;
    }
public static ClusterMember findMember ( final ClusterMember [ ] clusterMembers , final int memberId ) { for ( final ClusterMember member : clusterMembers ) { if ( member . id ( ) == memberId ) { return member ; } } return null ; }
Find a {@link ClusterMember} with a given id.

@param clusterMembers to search.
@param memberId       to search for.
@return the {@link ClusterMember} if found otherwise null.
Find a { @link ClusterMember } with a given id .