Aashiqui Posted March 20, 2015 Author Report Posted March 20, 2015 yeah i need replace D result of that method Setback means u need to replace D with the result frpm the method ??
chandu1987 Posted March 20, 2015 Report Posted March 20, 2015 may be nenu clear gaa cheppaledhu emo. eppudu okka list lo elements vunnayilist<elements> elements{A,B,c,D} so nenu aa list ne iterate chesi A value tesukoni pass to some method and result should eb assign to D in the list so lsit lo element ki value ela assign chestharu aa element object ki setter method for D unte, u can just call that method kadha to set the value, indhulo complication emundhi??
cup_saucer Posted March 20, 2015 Report Posted March 20, 2015 Find Index of D ---int index = list.indexof("D"); String d_new = result of method; String d_old_temp = "D"; (incase u need to hold it for future; list.set(index,d_new); thappaithe sorry...
chandu1987 Posted March 20, 2015 Report Posted March 20, 2015 solve ayyinda? i dont know java no, question lo inka clarity raledhu, so ts kosam waiting
phoenix_nebula Posted March 20, 2015 Report Posted March 20, 2015 Read this if u still wanna change keys in Maps http://stackoverflow.com/questions/4235774/changing-hashmap-keys-during-iteration
Recommended Posts