I have a list of my own Java objects, which need to be sorted by the property code of the object itself.
List<Calle> listaDeCalles;
Calle calle1 = new Calle();
calle1.setCodigo("A4");
...
listaDeCalles.add(calle1);
l...
I'm trying to reorder my list of items by distance (using getListView from Android, not a custom one) and I'm having problems.
I'm getting the spherical distance in meters (double type) using Maps Utils inside the adapter (SomeAdapter).
dou...
I am creating a program that captures data on a page using JavaScript. I inserted the QuickSort sorting method for general queries, however, only one query is displayed on the screen even if I entered more than one.
This is my code:
v...
I have the following HashMap
Map<String, Float>notas = new HashMap<String, Float>();
notas.put("Examen 1", 8.0F);
notas.put("1er trimestre", 9.4F);
and I have the following method to go through it and show it on the screen
@Su...
How about my problem is as mentioned in the title, I have knowledge of how to make simple and double lists linked in c ++, but I have no idea how to pass information from a text file to a simple list. I have a program created in c ++ with indexe...
I have an array that filled with a query. What I get is the following:
array (size=9)
'128 GB' =>
array (size=1)
0 => string '156' (length=3)
'16 GB' =>
array (size=2)
0 => string '106' (length=3)
1...
I have an application that makes some calculations and I save them in a datagridview, to a column I give the currency format in this way: Format(totalMarca, "##,##0.000")
So far so good, but I try to sort the data and do not do it. The fo...
I have 2 columns, the first is arrival_time, the second is pick_up, the question is the following, I need to sort the results depending on what type of service it is, if it is for example arrival (arrival) you have to select the schedule of the...
I have the following list:
List<DatosAutores> datosAutor= new ArrayList<DatosAutores>();
datosAutor.add(new DatosAutores("157","Joaquín Ordóñez Sedeño","[email protected]","Anuario Mexicano de Derecho Internacional","4027","Dere...
I'm doing a project in C, but I got stuck when I wanted to order the Nodes.
I have methods to fill and eliminate the nodes, the problem comes when trying to order does not do anything, it leaves it as it is.
When entering a user I assigned his n...