Questions tagged as 'array'

2
answers

Get Array List by AsyncTask from a URL

I am trying to extract a list array by asynctask of a url but I can not complete the action. This is the error:    Error: (35, 22) error: incompatible types   required: ArrayList   found: ArrayList       Error: (34,...
asked by 30.06.2016 / 21:17
1
answer

Modify ArrayList object in a JTable [closed]

I have a Table and I fill it with objects from an ArrayList I want to know how I can modify the data that was already saved in the ArrayList and that the table presents them     
asked by 13.06.2016 / 00:53
1
answer

Java: Array is read or miswritten from a file

I would like to solve a problem of getting all the possible combinations for several people to cross a path, so that two nodes can not be visited by several people. The ideal case would be to store the elements in a list but when using recurs...
asked by 05.06.2016 / 13:07
4
answers

How can I change System.String [] in string

I have an application that returns a user but the output is System.String[] would like me to give me the real value of the array. How can I do this? Here is my code of the way I passed the parameters. Thanks UserData[] userData...
asked by 01.04.2016 / 23:02
1
answer

Error trying to calculate element with the highest value of an array

I have a problem with the following function: def conjunmas(): for (conjunto) in (arreglo): totalm = 0 cma = 0 for (unidad) in (arreglo): totalm = (totalm + unidad) if (totalm > cm...
asked by 10.05.2016 / 02:49
1
answer

look for repeated values and put if it is the first, the second or the third time that is repeated

I hope you can help me I have an array in which I keep numbers that correspond to a specific subject ie they are the id, but I need to go through that array and verify that if the subject is repeated it means that it is the second time that is i...
asked by 05.01.2019 / 00:51
0
answers

how to save selected checkbox in array, with angular 6

I have several checkboxes as follows: ts: sectores = [{ sector: "Turismo" }, { sector: "Publico" }, { sector: "Privado" }, { sector: 'Taxis' },{sector:"Carga"},{sector:"Empresarial"}] html: <div class="form-group">...
asked by 02.01.2019 / 22:39
1
answer

Fix of ksoap objects

I am developing an app in android studio, I am consuming a webservices in asmx. The detail is that I have in my websevices a method called menú , which brings me in an xml menu, which I want to show a ListView , the detail is that...
asked by 20.04.2016 / 20:54
0
answers

Help with the dir function in Matlab

I would like to put the name of the files that the sentence returns in an array listing = dir (' letter .wav'); for that I use the sentence listing (n) .name; which I want to put into each of the positions of an array called vec, I use the for...
asked by 23.12.2018 / 09:12
1
answer

Update lists within dictionaries

After asking for the votes of the pets, how did I update the new information in the voting list? mascotas={'Puka':[0,0,0],'Morita':[0,0,0],'Martin':[0,0,0],'Napo':[0,0,0]} redesSociales=['Facebook','Instagram','Twitter'] votos = list(mascotas...
asked by 03.01.2019 / 04:14