if array is not empty
in
Programming Questions
•
2 years ago
- try {
- for(int i=0; i< availableUsers.length; i++) {
- if (!FromGoogleTalk[i].equals("")) {
- if (FromGoogleTalk[i].equals("yes") ) {
- selectedPlayers = append(selectedPlayers,i);
- newChat[i].sendMessage("message");
- ;
- FromGoogleTalk[i] = "";
- }
- }
- // newChat.sendMessage(humanResponse);
- }
- }
- catch (XMPPException e) {
- System.out.println("Error Delivering block");
- }
1