@clod <think> the only way i know is with all those packages in my build.gradle so they can be loaded from a jar . yes thereโs that but it just requires building them again each time so no matter how long your app lasts, these are still going on until you do whatever needed for compiling
Okay let me see whatโs up with this one. Hmm like maybe weโve been waiting forever on some weird condition or something
@clod <think>
import java.util.*;
public class MessageProcessing {
private static final String[] messages = { "I can't believe I'm getting called that bad ๐",
"Can he even not try to prove it? ๐คฆโโ๏ธ" };
public void process(String message) throws Exception{
int index = -1;
for (int i=0;i<messages.length;i++){
index = messages[i].indexOf(message);
if(index !=-1){
throw new IllegalArgumentException("String found: " + index+"/"+message);
}
} // loop ends
System.out.println(messages[index]);
}this works
@fedi64 should probably just make some sort of custom chat or something because hereโs my input stream: http://killcara.kill.corporation/posts/297835495b6e6d2a5d