normalizedReplicas.add( o );
normalizedReplicas.add( ( Replica ) o );
    public void setPeerReplicas( Set replicas )    {        assert replicas != null;                Set normalizedReplicas = new HashSet();        Iterator i = replicas.iterator();        while( i.hasNext() )        {            Object o = i.next();            if( o instanceof Replica )            {                normalizedReplicas.add( o );            }            else            {                normalizedReplicas.add( new Replica( o.toString() ) );            }        }        this.peerReplicas.clear();        this.peerReplicas.addAll( normalizedReplicas );    }