Posts by Maikon • 100 points
7 posts
-
3
votes1
answer67
viewsA: I need to access indexes from a java array
At the time you added the elements in the list, you can access it like this: conteudo.get(i) //Onde i é o índice. And if it is an array "String[]", then access: String[] array = new String[10];…
-
-1
votes3
answers145
viewsA: Save character by character within an array
Just do: String qualquer = "Qualquer"; char[] qualquerArray = qualquer.toCharArray(); Java itself already provides a method for this.
-
1
votes1
answer345
viewsA: Set up dynamic menu
This error is caused by ngFor expecting an Array and its api is returning an object. Reference https://stackoverflow.com/questions/38216857/error-trying-to-diff-object-object…
-
0
votes5
answers3984
viewsA: How to compare arrays to javascript?
I made this simple algorithm that returns the array containing the most similar content. (There is probably a more performative implementation). function similarities(arrayCheck, arrayOne,…
-
0
votes1
answer32
viewsA: Android Studio Startup Error
You can make some attempts: 1 - Rebuild the project: Try entering the Build menu -> Rebuild and rebuild the project and see if it works. 2 - Relocate the folder project: Tries to swap the drive…
-
0
votes1
answer141
viewsA: How to create an angular project without Initial commit?
To not execute the initial commmit just add to the command the attribute '-commit=false' ng new <nome-app> --commit=false It will create the repository, but will not commit. You can check this…
-
1
votes1
answer157
viewsA: Python Code Numpy Arrays Creation Problem
Apparently there is a problem with changing values of an array created by numpy. The solution to this "Valueerror: Setting an array element with a Sequence" problem is to add to the end of the array…