It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
Project Lombok is a small library that can be used to reduce the amount of boilerplate Java code that is commonly written for Java classes. Project Lombok does this via annotations that can be added ...