Find Duplicate Value In Array In Spring Boot