private void updateSynapseNodes(Collection<Synapse> synapses){
  for (  Synapse synapse : synapses) {
    SynapseNode node=((SynapseNode)objectNodeMap.get(synapse));
    if (node != null) {
      node.updateColor();
      node.updateDiameter();
    }
  }
  timeLabel.update();
  updateComplete.decrementAndGet();
}

private void updateSynapseNodes ( Collection < Synapse > synapses ) { for ( Synapse synapse : synapses ) { SynapseNode node = ( ( SynapseNode ) objectNodeMap . get ( synapse ) ) ; if ( node != null ) { node . updateColor ( ) ; node . updateDiameter ( ) ; } } timeLabel . update ( ) ; updateComplete . decrementAndGet ( ) ; }
update visible state of nodes corresponding to specified synapses .
