Posts by WindsBrain • 31 points
3 posts
-
-1
votes1
answer150
viewsA: How to put socket in read mode until you receive other java data
I built a file server two years ago in college, it’ll solve your problem. It has 3 server instances, a load balance (very simple) and the client part. You start the servers, then load balance and…
-
1
votes1
answer80
viewsA: Android Studio - Doubt about String’s comparisons
You can compare using the method: .trim(), to clear spaces import java.io.*; public class Test { public static void main(String args[]) { String Str = new String("Hello World");…
-
2
votes1
answer584
viewsQ: How to add values by category?
I have some data structured as follows: "_id" : "", "filmes" : [ { "nome" : "Filme 1", "categoria" : "terror", "qtd" : 7 }, { "nome" : "Filme 2", "categoria" : "comedia", "qtd" : 7 }, { "nome" :…
mongodbasked WindsBrain 31