When performing serialization with any Java object contains a List field produced by Java subList method of List, an application will get this error "java.lang.UnsupportedOperationException: Class ...
It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results