public Versioned < V > update ( V newValue , long newVersion ) { Versioned < V > previousValue = value ; value = new Versioned <> ( newValue , newVersion ) ; return previousValue ; }
Updates the node value .