I labor under the delusion that this is a simple question which should have a simple answer. I say that because a simple google search of "what is mainLoop in Java" returns no such answer. I'm just looking for a Java 101 level answer to this question. The context in which I have encountered this is in this line of code:
mainLoop: for(StackTraceElement ste: Thread.currentThread().getStackTrace(){
//stuff here
}
What is mainLoop in Java?