U
U
urmi tilek uulu2015-11-06 12:21:06
Java
urmi tilek uulu, 2015-11-06 12:21:06

Java var: { more code } what does this mean?

label38: {
                    that = (RegisterItemResponseType)o;
                    if(this.registrationState != null) {
                        if(this.registrationState.equals(that.registrationState)) {
                            break label38;
                        }
                    } else if(that.registrationState == null) {
                        break label38;
                    }

                    return false;
                }

I haven’t seen this before, I googled it all the time about foreach. Here I just don't understand the colon.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mbllllb, 2015-11-06
@urma

label38:
well, it's a label.
Instead of the unconditional jump operator goto.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question