`参考:[https://www.journaldev.com/21095/java-equals-hashcode](https://www.journaldev.com/21095/java-equals-hashcode)` https://vladmihalcea.com/the-best-way-to ...
EnhancementA request or suggestion to improve some aspect of the libraryA request or suggestion to improve some aspect of the library the class Account didnt implement the equals() and hashCode() ...
It's not terribly clean, but you could use indexOf() and check if it returns -1. Better than breaking out a loop.