@ SafeVarargs public static < T > RelaxedEqualsVerifierApi < T > forRelaxedEqualExamples ( T first , T second , T ... more ) { List < T > examples = ListBuilders . buildListOfAtLeastTwo ( first , second , more ) ; @ SuppressWarnings ( "unchecked" ) Class < T > type = ( Class < T > ) first . getClass ( ) ; return new RelaxedEqualsVerifierApi <> ( type , examples ) ; }
Factory method . Asks for a list of equal but not identical instances of T .