java - Sequence doesn't count upwards -


i have following piece of code, append corect, sequence doesn't count upwards. idea whats wrong there?

globalmap.containskey(row1.file_name.touppercase()) ?     (string)globalmap.get(row1.file_name.touppercase()) :     (globalmap.put(row1.file_name.touppercase(), row1.file_name.touppercase() +         "-id-" + numeric.sequence(row1.file_name, 1, +1).tostring()) == null ?     (string)globalmap.get(row1.file_name.touppercase()) :     (string)globalmap.get(row1.file_name.touppercase()) 

thanks in advance advice!

i don't see incrementing value repeatedly, maybe why sequence not increasing.

if(globalmap.containskey(row1.file_name.touppercase())){     (string)globalmap.get(row1.file_name.touppercase()) }else{     if((globalmap.put(row1.file_name.touppercase(), row1.file_name.touppercase() +     "-id-" + numeric.sequence(row1.file_name, 1, +1).tostring()) == null){         (string)globalmap.get(row1.file_name.touppercase());     }else{         (string)globalmap.get(row1.file_name.touppercase())     } } 

here's code if/else statements. did not compile code, , not sure compile can't track parenthesis easily.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -