Most voted "arraylist" questions
The Arraylist class is an implementation of the List interface that uses an array to store elements.
Learn more…257 questions
Sort by count of
-
-2
votes1
answer56
viewsFailed to create array
I’m using php 5.3 with Postgree on a project I’m working on. That way I have to use the array() and not the [ ]. I have a table that I need to send by email but when sending only the last record is…
-
-2
votes1
answer792
viewsHow to compare python array in an array list and return the same or nearest array
I would like to know how I can enter with a vector and search in a list of vectors which has more equal or similar values using Python. Example: I have the following vector: search =…
-
-3
votes1
answer524
viewsSort String List
Does anyone know how to sort a list (Array List)of Strings containing alphanumeric information of the type: "ABC 12" "A 8"
-
-3
votes1
answer38
viewsHow to duplicate a struct in "C"
I have an activity that is to create a struct with SIZE = 5 initially, but I would like it to double its value if it is necessary to insert a sixth value, created a return function for this but the…
-
-3
votes1
answer61
viewsI need to create an Arraylist in Java
I need to create a program that works like a library. I managed to create a part of the program that creates a book, given the information as parameters. Now I need to create an Arraylist that can…
-
-3
votes1
answer50
viewsHow to get index in an array list?
I need to check if there is an element with the nome as FH02, because I can’t use it because I don’t know where you stand. Config = {} Config.Homes = { {['nome'] = "FH02", ['qtde'] = 2, ['valor'] =…
-
-4
votes2
answers116
viewsHow to keep the last 100 objects inserted in an Arraylist?
How to keep the last 100 objects inserted in an Arraylist? This will be constantly fed but I want to keep only the last 100.