private void addToRing ( String host ) { Cell newCell = new Cell ( ) ; newCell . m_hostName = host ; if ( m_cellRing == null ) { newCell . next = newCell ; } else { newCell . next = m_cellRing . next ; m_cellRing . next = newCell ; } m_cellRing = newCell ; }
Adds a new host to a cells ring .