001// Generated by delombok at Fri Mar 03 18:26:02 UTC 2023 002package de.cuioss.test.generator.domain; 003 004import static de.cuioss.tools.collect.CollectionLiterals.immutableList; 005import java.util.List; 006import de.cuioss.test.generator.internal.net.java.quickcheck.Generator; 007import de.cuioss.tools.collect.CollectionBuilder; 008// owolff: False positive, list are immutable 009/** 010 * Provides lists of names for creating name {@link Generator}. 011 * 012 * @author Oliver Wolff 013 */ 014@SuppressWarnings("squid:S2386") 015public final class NameLibrary { 016 // German 017 /** 018 * Top 10 male name in Germany 2014 019 */ 020 public static final List<String> FIRSTNAMES_MALE_GERMAN = immutableList("Ben", "Elias", "Fynn", "Jonas", "Leon", "Louis", "Luca", "Lukas", "Noah", "Paul"); 021 /** 022 * Top 10 female name in Germany 2014 023 */ 024 public static final List<String> FIRSTNAMES_FEMALE_GERMAN = immutableList("Anna", "Emilia", "Emma", "Hannah", "Lea", "Lena", "Leonie", "Marie", "Mia", "Sophia"); 025 /** 026 * The intersection of {@link #FIRSTNAMES_FEMALE_GERMAN} and 027 * {@link #FIRSTNAMES_MALE_GERMAN}. 028 */ 029 public static final List<String> FIRSTNAMES_ANY_GERMAN = new CollectionBuilder<String>().add(FIRSTNAMES_FEMALE_GERMAN).add(FIRSTNAMES_MALE_GERMAN).toImmutableList(); 030 /** 031 * Top 10 names in Wikipedia 032 */ 033 public static final List<String> LAST_NAMES_GERMAN = immutableList("Müller", "Schmidt", "Schneider", "Fischer", "Weber", "Meyer", "Wagner", "Becker", "Schulz", "Hoffmann"); 034 // English 035 /** 036 * Top 10 male name in Germany 2014 037 */ 038 public static final List<String> FIRSTNAMES_MALE_ENGLISH = immutableList("Jackson", "Aiden", "Liam", "Lucas", "Noah", "Mason", "Ethan", "Caden", "Jacob", "Logan"); 039 /** 040 * Top 10 female name in Germany 2014 041 */ 042 public static final List<String> FIRSTNAMES_FEMALE_ENGLISH = immutableList("Sophia", "Emma", "Olivia", "Ava", "Isabella", "Mia", "Zoe", "Lily", "Emily", "Madelyn"); 043 /** 044 * The intersection of {@link #FIRSTNAMES_MALE_ENGLISH} and 045 * {@link #FIRSTNAMES_FEMALE_ENGLISH}. 046 */ 047 public static final List<String> FIRSTNAMES_ANY_ENGLISH = new CollectionBuilder<String>().add(FIRSTNAMES_FEMALE_ENGLISH).add(FIRSTNAMES_MALE_ENGLISH).toImmutableList(); 048 /** 049 * Top 10 names from U.S. Census Bureau 050 */ 051 public static final List<String> LAST_NAMES_ENGLISH = immutableList("Smith", "Johnson", "Williams", "Brown", "Jones", "Miller", "Davis", "Garcia", "Rodriguez", "Wilson"); 052 053 @java.lang.SuppressWarnings("all") 054 @lombok.Generated 055 private NameLibrary() { 056 throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated"); 057 } 058}