Searched refs:nextInstance (Results 1 – 1 of 1) sorted by relevance
164 Object sample = nextInstance(samples, null); in generate()169 return nextInstance(rawType.getEnumConstants(), null); in generate()264 private <T> T nextInstance(T[] instances, T defaultValue) { in nextInstance() method in FreshValueGenerator265 return nextInstance(Arrays.asList(instances), defaultValue); in nextInstance()268 private <T> T nextInstance(Collection<T> instances, T defaultValue) { in nextInstance() method in FreshValueGenerator290 return nextInstance( in freshClass()402 return nextInstance(Charset.availableCharsets().values(), Charsets.UTF_8); in freshCharset()406 return nextInstance(Locale.getAvailableLocales(), Locale.US); in freshLocale()